MaskObjectsConfig#
- class lsst.pipe.tasks.background.MaskObjectsConfig(*args, **kw)#
Bases:
ConfigConfiguration for MaskObjectsTask
Attributes Summary
Detection threshold (standard deviations) (
float, default5.0)Source detection (
ConfigurableInstance, default<class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)Interpolate when removing objects? (
bool, defaultTrue)Interpolation (
ConfigurableInstance, default<class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)Number of iterations (
int, default3)Background subtraction (
ConfigurableInstance, default<class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)Methods Summary
Subclass hook for computing defaults.
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- detectSigma#
Detection threshold (standard deviations) (
float, default5.0)
- detection#
Source detection (
ConfigurableInstance, default<class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)
- doInterpolate#
Interpolate when removing objects? (
bool, defaultTrue)
- interpolate#
Interpolation (
ConfigurableInstance, default<class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)
- nIter#
Number of iterations (
int, default3)
- subtractBackground#
Background subtraction (
ConfigurableInstance, default<class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)
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.