|
def | prepCrosstalk (self, dataRef) |
|
def | run (self, exposure, crosstalkSources=None, isTrimmed=False) |
|
Apply intra-detector crosstalk correction.
Definition at line 131 of file crosstalk.py.
◆ prepCrosstalk()
def lsst.ip.isr.crosstalk.CrosstalkTask.prepCrosstalk |
( |
|
self, |
|
|
|
dataRef |
|
) |
| |
Placeholder for crosstalk preparation method, e.g., for inter-detector crosstalk.
Parameters
----------
dataRef : `daf.persistence.butlerSubset.ButlerDataRef`
Butler reference of the detector data to be processed.
See also
--------
lsst.obs.decam.crosstalk.DecamCrosstalkTask.prepCrosstalk
Definition at line 136 of file crosstalk.py.
◆ run()
def lsst.ip.isr.crosstalk.CrosstalkTask.run |
( |
|
self, |
|
|
|
exposure, |
|
|
|
crosstalkSources = None , |
|
|
|
isTrimmed = False |
|
) |
| |
Apply intra-detector crosstalk correction
Parameters
----------
exposure : `lsst.afw.image.Exposure`
Exposure for which to remove crosstalk.
crosstalkSources : `defaultdict`, optional
Image data and crosstalk coefficients from other detectors/amps that are
sources of crosstalk in exposure.
The default for intra-detector crosstalk here is None.
isTrimmed : `bool`
The image is already trimmed.
This should no longer be needed once DM-15409 is resolved.
Raises
------
RuntimeError
Raised if called for a detector that does not have a
crosstalk correction.
TypeError
Raised if crosstalkSources is not None
and not a numpy array or a dictionary.
Definition at line 150 of file crosstalk.py.
◆ ConfigClass
The documentation for this class was generated from the following file: