applyDcr¶
-
lsst.ip.diffim.
applyDcr
(maskedImage, dcr, warpCtrl, bbox=None, useInverse=False, splitSubfilters=False)¶ Shift a masked image.
Parameters: - maskedImage :
lsst.afw.image.MaskedImage
The input masked image to shift.
- dcr :
lsst.afw.geom.Extent2I
Shift calculated with
calculateDcr
.- warpCtrl :
lsst.afw.math.WarpingControl
Configuration settings for warping an image
- bbox :
lsst.afw.geom.Box2I
, optional Sub-region of the masked image to shift. Shifts the entire image if None (Default).
- useInverse :
bool
, optional Use the reverse of
dcr
for the shift. Default: False- splitSubfilters :
bool
, optional Calculate DCR for two evenly-spaced wavelengths in each subfilter, instead of at the midpoint. Default: False
Returns: - shiftedImage :
lsst.afw.image.maskedImageF
A masked image, with the pixels within the bounding box shifted.
- maskedImage :