LinearityNormalizeConfig#

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

Bases: PipelineTaskConfig

Attributes Summary

connections

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

doNormalizeAbsoluteLinearizer

Do the normalization with an absolute linearizer, which implies both single-image (vs pairs) and only using the absolute reference amplifier for normalization.

minValidFraction

Minimum fraction of normalization amplifiers that must have valid residuals in order to be used to create a normalization value.

normalizeDetectors

List of detector numbers to use for normalization.

referenceDetector

Detector to use as an overall reference for sorting/labeling exposures.

saveLogOutput

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

Methods Summary

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

connections: pexConfig.ConfigField#

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

doNormalizeAbsoluteLinearizer#

Do the normalization with an absolute linearizer, which implies both single-image (vs pairs) and only using the absolute reference amplifier for normalization. (bool, default True)

minValidFraction#

Minimum fraction of normalization amplifiers that must have valid residuals in order to be used to create a normalization value. (float, default 0.5)

normalizeDetectors#

List of detector numbers to use for normalization. (List)

referenceDetector#

Detector to use as an overall reference for sorting/labeling exposures. Must be in list of normalizeDetectors. (int)

saveLogOutput#

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

Methods Documentation

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.