lsst.obs.decam  19.0.0-30-g9c3fd16
Public Member Functions | Static Public Attributes | List of all members
lsst.obs.decam.crosstalk.DecamCrosstalkTask Class Reference
Inheritance diagram for lsst.obs.decam.crosstalk.DecamCrosstalkTask:

Public Member Functions

def prepCrosstalk (self, dataRef)
 
def run (self, exposure, crosstalkSources=None)
 

Static Public Attributes

 ConfigClass = DecamCrosstalkConfig
 

Detailed Description

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.

Member Function Documentation

◆ prepCrosstalk()

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.

◆ run()

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`).

The documentation for this class was generated from the following file: