lsst.obs.decam
19.0.0-27-g567f04d+3
|
Public Member Functions | |
def | prepCrosstalk (self, dataRef) |
def | run (self, exposure, crosstalkSources=None) |
Static Public Attributes | |
ConfigClass = DecamCrosstalkConfig | |
Remove crosstalk from a raw DECam image. This must be done after the overscan is corrected but before it is trimmed. This version of crosstalk removal assumes you want to do it as part of a regular stack-ISR workflow.
def lsst.obs.decam.crosstalk.DecamCrosstalkTask.prepCrosstalk | ( | self, | |
dataRef | |||
) |
Retrieve source image data and coefficients to prepare for crosstalk correction. This is called by readIsrData. The crosstalkSources land in isrData. Parameters ---------- dataRef : `lsst.daf.persistence.butlerSubset.ButlerDataRef` DataRef of exposure to correct which must include a dataId with at least one visit and a ccdnum corresponding to the detector id. Returns ------- crosstalkSources : `defaultdict` Contains image data and corresponding crosstalk coefficients for each crosstalk source of the given dataRef victim.
def lsst.obs.decam.crosstalk.DecamCrosstalkTask.run | ( | self, | |
exposure, | |||
crosstalkSources = None |
|||
) |
Perform crosstalk correction on a DECam exposure and its corresponding dataRef. Parameters ---------- exposure : `lsst.afw.image.Exposure` Exposure to correct. dataRef : `lsst.daf.persistence.butlerSubset.ButlerDataRef` DataRef of exposure to correct which must include a dataId with at least one visit and ccdnum. crosstalkSources : `defaultdict` Must contain image data and corresponding crosstalk coefficients for each crosstalk source of the given dataRef victim. This is returned by prepCrosstalk. Returns ------- `lsst.pipe.base.Struct` Struct with components: - ``exposure``: The exposure after crosstalk correction has been applied (`lsst.afw.image.Exposure`).