interpolateDefectList¶
- lsst.ip.isr.interpolateDefectList(maskedImage, defectList, fwhm, fallbackValue=None, maskNameList=None, useLegacyInterp=True)¶
- 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. 
- fwhmfloat
- 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. 
- maskNameListlist [string]
- List of the defects to interpolate over (used for GP interpolator). 
- useLegacyInterpbool
- 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.