biasCorrection¶
- lsst.ip.isr.biasCorrection(maskedImage, biasMaskedImage, trimToFit=False)¶
Apply bias correction in place.
- Parameters:
- maskedImage
lsst.afw.image.MaskedImage
Image to process. The image is modified by this method.
- biasMaskedImage
lsst.afw.image.MaskedImage
Bias image of the same size as
maskedImage
- trimToFit
Bool
, optional If True, raw data is symmetrically trimmed to match calibration size.
- maskedImage
- Raises:
- RuntimeError
Raised if
maskedImage
andbiasMaskedImage
do not have the same size.