CpFlatNormalizationTaskConfig#
- class lsst.cp.pipe.cpFlatMeasure.CpFlatNormalizationTaskConfig(*args, **kw)#
Bases:
PipelineTaskConfigAttributes Summary
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Down-select inputs based on a header keyword? (
bool, defaultFalse)Which exposure record field to use for down-selection.
Exposure record value (corresponding to
downSelectionField) to match for down-selection.Which level to apply normalizations.
Flag to enable/disable saving of log output for a task, enabled by default.
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, defaultFalse)
- downSelectionField#
Which exposure record field to use for down-selection. Only used if
doDownSelectionis 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 ifdoDownSelectionis True, in which case this must be set. (str, defaultNone)
- 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, defaultTrue)
- scaleMaxIter#
Max number of iterations to use in scale solver. (
int, default10)
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
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.