InterpImageTask¶
Python API summary¶
from lsst.pipe.tasks.interpImage import InterpImageTask
-
class
InterpImageTask
(config=None, name=None, parentTask=None, log=None) Interpolate over bad image pixels
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(image, planeName=None, fwhmPixels=None, defects=None) Interpolate in place over pixels in a maskedImage marked as bad
...
See also
See the InterpImageTask
API reference for complete details.
Retargetable subtasks¶
modelPsf¶
- Default
lsst.meas.algorithms.gaussianPsfFactory.applyWrapper
- Field type
Model Psf factory
Configuration fields¶
fallbackUserValue¶
If fallbackValueType is ‘USER’ then use this as the fallbackValue; ignored otherwise
fallbackValueType¶
- Default
'MEDIAN'
- Field type
str
ChoiceField
(optional)- Choices
'MEAN'
mean
'MEDIAN'
median
'MEANCLIP'
clipped mean
'USER'
user value set in fallbackUserValue config
None
Field is optional
Type of statistic to calculate edge fallbackValue for interpolation
negativeFallbackAllowed¶
Allow negative values for egde interpolation fallbackValue? If False, set fallbackValue to max(fallbackValue, 0.0)
transpose¶
Transpose image before interpolating? This allows the interpolation to act over columns instead of rows.
useFallbackValueAtEdge¶
Smoothly taper to the fallback value at the edge of the image?