PropagateSourceFlagsConfig#
- class lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsConfig(*args, **kw)#
Bases:
ConfigConfiguration for propagating source flags to coadd objects.
Attributes Summary
Finalized source flags to propagate, with the threshold of relative occurrence (valid range: [0-1]).
Name of column with source x position (finalized_src_table).
Name of column with source y position (finalized_src_table).
Source matching radius (arcsec) (
float, default0.2)Source flags to propagate, with the threshold of relative occurrence (valid range: [0-1]).
Name of column with source x position (sourceTable_visit).
Name of column with source y position (sourceTable_visit).
Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- finalized_source_flags#
Finalized source flags to propagate, with the threshold of relative occurrence (valid range: [0-1]). Coadd object will have flag set if fraction of input visits in which it is flagged is greater than the threshold. (
Dict, default{'calib_psf_candidate': 0.2, 'calib_psf_used': 0.2, 'calib_psf_reserved': 0.2})
- finalized_x_column#
Name of column with source x position (finalized_src_table). (
str, default'slot_Centroid_x')
- finalized_y_column#
Name of column with source y position (finalized_src_table). (
str, default'slot_Centroid_y')
- match_radius#
Source matching radius (arcsec) (
float, default0.2)
- source_flags#
Source flags to propagate, with the threshold of relative occurrence (valid range: [0-1]). Coadd object will have flag set if fraction of input visits in which it is flagged is greater than the threshold. (
Dict, default{'calib_astrometry_used': 0.2, 'calib_photometry_used': 0.2, 'calib_photometry_reserved': 0.2})
- x_column#
Name of column with source x position (sourceTable_visit). (
str, default'x')
- y_column#
Name of column with source y position (sourceTable_visit). (
str, default'y')
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.