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:
maskedImagelsst.afw.image.MaskedImage

Image to process.

saturationscalar

Saturation level used as the detection threshold.

fwhmscalar

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.