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.useVisitSummaryPsf
).
Python API summary¶
from lsst.pipe.tasks.propagateSourceFlags import PropagateSourceFlagsTask
-
class
PropagateSourceFlagsTask
(schema, **kwargs) Task to propagate source flags to coadd objects
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(coadd_object_cat, ccd_inputs, source_table_handle_dict=None, finalized_source_table_handle_dict=None) 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
- Key type
- Value type
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.
finalized_x_column¶
Name of column with source x position (finalized_src_table).
finalized_y_column¶
Name of column with source y position (finalized_src_table).
match_radius¶
Source matching radius (arcsec)
source_flags¶
- Default
{'calib_astrometry_used': 0.2, 'calib_photometry_used': 0.2, 'calib_photometry_reserved': 0.2}
- Field type
- Key type
- Value type
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.
x_column¶
Name of column with source x position (sourceTable_visit).
y_column¶
Name of column with source y position (sourceTable_visit).