saturationCorrection¶
- lsst.ip.isr.saturationCorrection(maskedImage, saturation, fwhm, growFootprints=1, interpolate=True, maskName='SAT', fallbackValue=None)¶
Mark saturated pixels and optionally interpolate over them
- Parameters:
- maskedImage
lsst.afw.image.MaskedImage
Image to process.
- saturationscalar
Saturation level used as the detection threshold.
- fwhm
float
FWHM of double Gaussian smoothing kernel.
- growFootprintsscalar, optional
Number of pixels to grow footprints of detected regions.
- interpolateBool, optional
If True, saturated pixels are interpolated over.
- maskNamestr, optional
Mask plane name.
- fallbackValuescalar, optional
Value of last resort for interpolation.
- maskedImage
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.