interpolateDefectList¶
- lsst.ip.isr.interpolateDefectList(maskedImage, defectList, fwhm, fallbackValue=None, maskNameList=None, useLegacyInterp=True)¶
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
float 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.
- maskNameList
list [string] List of the defects to interpolate over (used for GP interpolator).
- useLegacyInterp
bool Use the legacy interpolation (polynomial interpolation) if True. Use Gaussian Process interpolation if False.
- maskedImage
Notes
The
fwhmparameter is used to create a PSF, but the underlying interpolation code (lsst.meas.algorithms.interpolateOverDefects) does not currently make use of this information in legacy Interpolation, but use if for the Gaussian Process as an estimation of the correlation lenght.