interpolateDefectList

lsst.ip.isr.interpolateDefectList(maskedImage, defectList, fwhm, fallbackValue=None)

Interpolate over defects specified in a defect list.

Parameters:
maskedImage : lsst.afw.image.MaskedImage

Image to process.

defectList : lsst.meas.algorithms.Defects

List of defects to interpolate over.

fwhm : scalar

FWHM of double Gaussian smoothing kernel.

fallbackValue : scalar, optional

Fallback value if an interpolated value cannot be determined. If None, then the clipped mean of the image is used.