CpFlatNormalizationTaskConfig#

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

Bases: PipelineTaskConfig

Attributes Summary

connections

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

doDownSelection

Down-select inputs based on a header keyword? (bool, default False)

downSelectionField

Which exposure record field to use for down-selection.

downSelectionValue

Exposure record value (corresponding to downSelectionField) to match for down-selection.

level

Which level to apply normalizations.

saveLogOutput

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

scaleMaxIter

Max number of iterations to use in scale solver.

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.

doDownSelection#

Down-select inputs based on a header keyword? (bool, default False)

downSelectionField#

Which exposure record field to use for down-selection. Only used if doDownSelection is True. (str, default 'observation_reason')

Allowed values:

'observation_reason'

Select on exposure.observation_reason.

'observation_type'

Select on exposure.observation_type.

'science_program'

Select on exposure.science_program.

'group'

Select on exposure.group

'None'

Field is optional

downSelectionValue#

Exposure record value (corresponding to downSelectionField) to match for down-selection. Only used if doDownSelection is True, in which case this must be set. (str, default None)

level#

Which level to apply normalizations. (str, default 'DETECTOR')

Allowed values:

'DETECTOR'

Correct using full detector statistics.

'AMP'

Correct using individual amplifiers.

'None'

Field is optional

saveLogOutput#

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

scaleMaxIter#

Max number of iterations to use in scale solver. (int, default 10)

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.