interpolateDefectList

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

Interpolate over defects specified in a defect list.

Parameters:
maskedImagelsst.afw.image.MaskedImage

Image to process.

defectListlsst.meas.algorithms.Defects

List of defects to interpolate over.

fwhmscalar

FWHM of double Gaussian smoothing kernel.

fallbackValuescalar, optional

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