calculateDcr¶
- lsst.ip.diffim.calculateDcr(visitInfo, wcs, effectiveWavelength, bandwidth, dcrNumSubfilters, splitSubfilters=False, bbox=None)¶
- Calculate the shift in pixels of an exposure due to DCR. - Parameters:
- visitInfolsst.afw.image.VisitInfo
- Metadata for the exposure. 
- wcslsst.afw.geom.SkyWcs
- Coordinate system definition (wcs) for the exposure. 
- effectiveWavelengthfloat
- The effective wavelengths of the current filter, in nanometers. 
- bandwidthfloat
- The bandwidth of the current filter, in nanometers. 
- dcrNumSubfiltersint
- Number of sub-filters used to model chromatic effects within a band. 
- splitSubfiltersbool, optional
- Calculate DCR for two evenly-spaced wavelengths in each subfilter, instead of at the midpoint. Default: False 
- bboxlsst.afw.geom.Box2I, optional
- Bounding box for the region of interest for evaluating the local pixelScale (defaults to the Sky Origin of the - wcsprovided if- bboxis None).
 
- visitInfo
- Returns: