InterpImageTask

Python API summary

from lsst.pipe.tasks.interpImage import InterpImageTask
classInterpImageTask(config=None, name=None, parentTask=None, log=None)

Interpolate over bad image pixels...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(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
ConfigurableField
Model Psf factory

Configuration fields

fallbackUserValue

Default
0.0
Field type
float Field
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

Default
False
Field type
bool Field
Allow negative values for egde interpolation fallbackValue? If False, set fallbackValue to max(fallbackValue, 0.0)

useFallbackValueAtEdge

Default
True
Field type
bool Field
Smoothly taper to the fallback value at the edge of the image?