calculateDcr

lsst.ip.diffim.calculateDcr(visitInfo, wcs, effectiveWavelength, bandwidth, dcrNumSubfilters, splitSubfilters=False)

Calculate the shift in pixels of an exposure due to DCR.

Parameters:
visitInfo : lsst.afw.image.VisitInfo

Metadata for the exposure.

wcs : lsst.afw.geom.SkyWcs

Coordinate system definition (wcs) for the exposure.

effectiveWavelength : float

The effective wavelengths of the current filter, in nanometers.

bandwidth : float

The bandwidth of the current filter, in nanometers.

dcrNumSubfilters : int

Number of sub-filters used to model chromatic effects within a band.

splitSubfilters : bool, optional

Calculate DCR for two evenly-spaced wavelengths in each subfilter, instead of at the midpoint. Default: False

Returns:
dcrShift : tuple of two float

The 2D shift due to DCR, in pixels. Uses numpy axes ordering (Y, X).