interpolateFromMask

lsst.ip.isr.interpolateFromMask(maskedImage, fwhm, growSaturatedFootprints=1, maskNameList=['SAT'], fallbackValue=None, useLegacyInterp=True)

Interpolate over defects identified by a particular set of mask planes.

Parameters:
maskedImagelsst.afw.image.MaskedImage

Image to process.

fwhmfloat

FWHM of double Gaussian smoothing kernel.

growSaturatedFootprintsscalar, optional

Number of pixels to grow footprints for saturated pixels.

maskNameListList of str, optional

Mask plane name.

fallbackValuescalar, optional

Value of last resort for interpolation.

Notes

The fwhm parameter is used to create a PSF, but the underlying interpolation code (lsst.meas.algorithms.interpolateOverDefects) does not currently make use of this information.