illuminationCorrection¶
- lsst.ip.isr.illuminationCorrection(maskedImage, illumMaskedImage, illumScale, trimToFit=True)¶
Apply illumination correction in place.
- Parameters:
- maskedImage
lsst.afw.image.MaskedImage
Image to process. The image is modified.
- illumMaskedImage
lsst.afw.image.MaskedImage
Illumination correction image of the same size as
maskedImage
.- illumScalescalar
Scale factor for the illumination correction.
- trimToFit
Bool
, optional If True, raw data is symmetrically trimmed to match calibration size.
- maskedImage
- Raises:
- RuntimeError
Raised if
maskedImage
andillumMaskedImage
do not have the same size.