PropagateSourceFlagsTask¶
PropagateSourceFlagsTask
is a task to associate flags from source catalogs (e.g. which objects were used for astrometry, photometry, and psf fitting) with coadd object catalogs.
Flagged sources may come from a mix of two different types of source catalogs.
The sourceTable_visit
catalogs from CalibrateTask
contain flags for the first round of astrometry/photometry/psf fits.
The finalized_src_table
catalogs from FinalizeCalibrationTask
contain flags from the second round of psf fitting.
Which table should be used for the source of which flags depends on the configuration of coadds (in particular makeWarpConfig.doApplyFinalizedPsf
).
Python API summary¶
from lsst.pipe.tasks.propagateSourceFlags import PropagateSourceFlagsTask
-
class
(schema, **kwargs)PropagateSourceFlagsTask
Task to propagate source flags to coadd objects
...
-
attribute
config
Access configuration fields and retargetable subtasks.
-
method
(coadd_object_cat, ccd_inputs, source_table_handle_dict=None, finalized_source_table_handle_dict=None)run
Propagate flags from single-frame sources to coadd objects
...
See also
See the PropagateSourceFlagsTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
finalized_source_flags¶
- Default
{'calib_psf_candidate': 0.2, 'calib_psf_used': 0.2, 'calib_psf_reserved': 0.2}
- Field type
DictField
- Key type
str
- Value type
float
finalized_x_column¶
finalized_y_column¶
source_flags¶
- Default
{'calib_astrometry_used': 0.2, 'calib_photometry_used': 0.2, 'calib_photometry_reserved': 0.2}
- Field type
DictField
- Key type
str
- Value type
float