CalibCombineConfig#
- class lsst.cp.pipe.CalibCombineConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfiguration for combining calib exposures.
Attributes Summary
Name of calibration to be generated.
Unset mask planes other than NO_DATA in output calibration? (
bool, defaultTrue)Check that the calibration does not have NO_DATA set? (
bool, defaultTrue)Clipping threshold for combination (
float, default3.0)Statistic name to use for combination (from
Property) (str, default'MEANCLIP')Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Percentile levels to measure on the final combined calibration.
Compute a PARTLY_VIGNETTED mask plane for partly vignetted regions? (Used for LSST flats).
Copy vignette polygon to output and censor vignetted pixels? (Used for non-LSST flats).
Compute and attach a validPolygon and mask excluding the totally vignetted regions? (Used for LSST flats).
Scaling to be applied to each input exposure.
Mask planes to respect (
List, default['SAT', 'DETECTED', 'INTRP'])Maximum number of visits to estimate variance from input variance, not per-pixel spread (
int, default5)Clipping iterations for combination (
int, default3)Mask bit to set when there are no good input pixels.
Vignetting task, configured for partial vignetting.
Flag to enable/disable saving of log output for a task, enabled by default.
Region to scale.
Background statistics configuration (
ConfigurableInstance, default<class 'lsst.cp.pipe.cpCombine.CalibStatsConfig'>)Width, height of subregion size.
Vignetting task.
Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- calibrationType#
Name of calibration to be generated. (
str, default'calibration')
- censorMaskPlanes#
Unset mask planes other than NO_DATA in output calibration? (
bool, defaultTrue)
- checkNoData#
Check that the calibration does not have NO_DATA set? (
bool, defaultTrue)
- clip#
Clipping threshold for combination (
float, default3.0)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- distributionPercentiles#
Percentile levels to measure on the final combined calibration. (
List, default[0, 5, 16, 50, 84, 95, 100])
- doPartialVignetteMask#
Compute a PARTLY_VIGNETTED mask plane for partly vignetted regions? (Used for LSST flats). (
bool, defaultFalse)
- doVignette#
Copy vignette polygon to output and censor vignetted pixels? (Used for non-LSST flats). (
bool, defaultFalse)
- doVignetteMask#
Compute and attach a validPolygon and mask excluding the totally vignetted regions? (Used for LSST flats). (
bool, defaultFalse)
- exposureScaling#
Scaling to be applied to each input exposure. (
str, default'Unity')Allowed values:
'Unity'Do not scale inputs. Scale factor is 1.0.
'ExposureTime'Scale inputs by their exposure time.
'DarkTime'Scale inputs by their dark time.
'MeanStats'Scale inputs based on their mean values.
'InputList'Scale inputs based on a list of values.
'None'Field is optional
- mask#
Mask planes to respect (
List, default['SAT', 'DETECTED', 'INTRP'])
- maxVisitsToCalcErrorFromInputVariance#
Maximum number of visits to estimate variance from input variance, not per-pixel spread (
int, default5)
- nIter#
Clipping iterations for combination (
int, default3)
- noGoodPixelsMask#
Mask bit to set when there are no good input pixels. See code comments for details. (
str, default'BAD')
- partialVignette#
Vignetting task, configured for partial vignetting. (
ConfigurableInstance, default<class 'lsst.ip.isr.vignette.VignetteConfig'>)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- scalingLevel#
Region to scale. (
str, default'DETECTOR')Allowed values:
'DETECTOR'Scale by detector.
'AMP'Scale by amplifier.
'None'Field is optional
- stats#
Background statistics configuration (
ConfigurableInstance, default<class 'lsst.cp.pipe.cpCombine.CalibStatsConfig'>)
- subregionSize#
Width, height of subregion size. (
List, default(10000, 200))
- vignette#
Vignetting task. (
ConfigurableInstance, default<class 'lsst.ip.isr.vignette.VignetteConfig'>)
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.