SkyCorrectionConfig#
- class lsst.pipe.tasks.skyCorrection.SkyCorrectionConfig(*args, **kw)#
Bases:
PipelineTaskConfigAttributes Summary
Initial background model, prior to sky frame subtraction (
FocalPlaneBackgroundConfig, default<class 'lsst.pipe.tasks.background.FocalPlaneBackgroundConfig'>)Final (cleanup) background model, after sky frame subtraction (
FocalPlaneBackgroundConfig, default<class 'lsst.pipe.tasks.background.FocalPlaneBackgroundConfig'>)Binning factor for constructing full focal plane '*_camera' output datasets (
int, default8)Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
This should be True if the input image was processed with an illumination correction.
Do final (cleanup) background model subtraction, after sky frame subtraction? (
bool, defaultTrue)Iteratively mask objects to find good sky? (
bool, defaultTrue)Do sky frame subtraction? (
bool, defaultTrue)Mask Objects (
ConfigurableInstance, default<class 'lsst.pipe.tasks.background.MaskObjectsConfig'>)Flag to enable/disable saving of log output for a task, enabled by default.
Sky measurement (
ConfigurableInstance, default<class 'lsst.pipe.tasks.background.SkyMeasurementConfig'>)If True, adds back initial background model after sky and removes bgModel1 from the list (
bool, defaultFalse)Methods Summary
Subclass hook for computing defaults.
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- bgModel1#
Initial background model, prior to sky frame subtraction (
FocalPlaneBackgroundConfig, default<class 'lsst.pipe.tasks.background.FocalPlaneBackgroundConfig'>)
- bgModel2#
Final (cleanup) background model, after sky frame subtraction (
FocalPlaneBackgroundConfig, default<class 'lsst.pipe.tasks.background.FocalPlaneBackgroundConfig'>)
- binning#
Binning factor for constructing full focal plane ‘*_camera’ output datasets (
int, default8)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- doApplyFlatBackgroundRatio#
This should be True if the input image was processed with an illumination correction. (
bool, defaultFalse)
- doBgModel2#
Do final (cleanup) background model subtraction, after sky frame subtraction? (
bool, defaultTrue)
- doMaskObjects#
Iteratively mask objects to find good sky? (
bool, defaultTrue)
- doSky#
Do sky frame subtraction? (
bool, defaultTrue)
- maskObjects#
Mask Objects (
ConfigurableInstance, default<class 'lsst.pipe.tasks.background.MaskObjectsConfig'>)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- sky#
Sky measurement (
ConfigurableInstance, default<class 'lsst.pipe.tasks.background.SkyMeasurementConfig'>)
- undoBgModel1#
If True, adds back initial background model after sky and removes bgModel1 from the list (
bool, defaultFalse)
Methods Documentation
- setDefaults()#
Subclass hook for computing defaults.
Notes#
Derived
Configclasses that must compute defaults rather than using theFieldinstances’s defaults should do so here. To correctly use inherited defaults, implementations ofsetDefaultsmust call their base class’ssetDefaults.
- 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.