NullCrosstalkTask#

class lsst.ip.isr.NullCrosstalkTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#

Bases: CrosstalkTask

Methods Summary

run(exposure[, crosstalkSources])

Apply intra-detector crosstalk correction

Methods Documentation

run(exposure, crosstalkSources=None)#

Apply intra-detector crosstalk correction

Parameters#

exposurelsst.afw.image.Exposure

Exposure for which to remove crosstalk.

crosstalkCaliblsst.ip.isr.CrosstalkCalib, optional

External crosstalk calibration to apply. Constructed from detector if not found.

crosstalkSourcesdefaultdict, optional

Image data for other detectors that are sources of crosstalk in exposure. The keys are expected to be names of the other detectors, with the values containing lsst.afw.image.Exposure at the same level of processing as exposure. The default for intra-detector crosstalk here is None.

isTrimmedbool, optional

This option has been deprecated and does not do anything. It will be removed after v29.

cameralsst.afw.cameraGeom.Camera, optional

Camera associated with this exposure. Only used for inter-chip matching.

parallelOverscanRegionbool, optional

This option has been deprecated and will be removed after v29.

detectorConfiglsst.ip.isr.OverscanDetectorConfig, optional

This option has been deprecated and will be removed after v29.

fullAmplifierbool, optional

Use full amplifier and not just imaging region.

gainsdict [str, float], optional

Dictionary of amp name to gain. Required if there is a unit mismatch between the exposure and the crosstalk matrix.

badAmpDictdict [str, bool], optional

Dictionary to identify bad amplifiers that should not be source or target for crosstalk correction.

ignoreVariancebool, optional

Ignore variance plane when applying crosstalk?

Raises#

RuntimeError

Raised if called for a detector that does not have a crosstalk correction. Also raised if the crosstalkSource is not an expected type.