CrosstalkExtractConfig#

class lsst.cp.pipe.CrosstalkExtractConfig(*args, **kw)#

Bases: PipelineTaskConfig

Configuration for the measurement of pixel ratios.

Attributes Summary

background

Background estimation task.

badMask

Mask planes to ignore when identifying source pixels.

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

doMeasureInterchip

Measure inter-chip crosstalk as well? (bool, default False)

growMaskRadius

Radius to grow CT_TEMP masks prior to background estimation.

ignoreSaturatedPixels

Should saturated pixels be ignored? (bool, default False)

isTrimmed

Is the input exposure trimmed? (bool, default True)

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

threshold

Minimum level of source pixels for which to measure crosstalk.

Methods Summary

setDefaults()

Subclass hook for computing defaults.

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

background#

Background estimation task. (ConfigurableInstance, default <class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)

badMask#

Mask planes to ignore when identifying source pixels. (List, default ['BAD', 'INTRP'])

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

doMeasureInterchip#

Measure inter-chip crosstalk as well? (bool, default False)

growMaskRadius#

Radius to grow CT_TEMP masks prior to background estimation. (int, default 20)

ignoreSaturatedPixels#

Should saturated pixels be ignored? (bool, default False)

isTrimmed#

Is the input exposure trimmed? (bool, default True)

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

threshold#

Minimum level of source pixels for which to measure crosstalk. (float, default 30000)

Methods Documentation

setDefaults()#

Subclass hook for computing defaults.

Notes#

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.

validate()#

Validate the Config, raising an exception if invalid.

Raises#

lsst.pex.config.FieldValidationError

Raised if verification fails.

Notes#

The base class implementation performs type checks on all fields by calling their validate methods.

Complex single-field validation can be defined by deriving new Field types. For convenience, some derived lsst.pex.config.Field-types (ConfigField and ConfigChoiceField) are defined in lsst.pex.config that handle recursing into subconfigs.

Inter-field relationships should only be checked in derived Config classes after calling this method, and base validation is complete.