Task to propagate source flags to coadd objects.
Flagged sources may come from a mix of two different types of source catalogs.
The source_table catalogs from ``CalibrateTask`` contain flags for the first
round of astromety/photometry/psf fits.
The finalized_source_table catalogs from ``FinalizeCalibrationTask`` contain
flags from the second round of psf fitting.
Definition at line 96 of file propagateSourceFlags.py.
| lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsTask.run |
( |
| self, |
|
|
| coadd_object_cat, |
|
|
| ccd_inputs, |
|
|
| source_table_handle_dict = None, |
|
|
| finalized_source_table_handle_dict = None, |
|
|
| visit_summary_handle_dict = None ) |
Propagate flags from single-frame sources to coadd objects.
Flags are only propagated if a configurable percentage of the sources
are matched to the coadd objects. This task will match both "plain"
source flags and "finalized" source flags.
Parameters
----------
coadd_object_cat : `lsst.afw.table.SourceCatalog`
Table of coadd objects.
ccd_inputs : `lsst.afw.table.ExposureCatalog`
Table of single-frame inputs to coadd.
source_table_handle_dict : `dict` [`int`: `lsst.daf.butler.DeferredDatasetHandle`], optional
Dict for sourceTable_visit handles (key is visit). May be None if
``config.source_flags`` has no entries.
finalized_source_table_handle_dict : `dict` [`int`:
`lsst.daf.butler.DeferredDatasetHandle`], optional
Dict for finalized_src_table handles (key is visit). May be None if
``config.finalized_source_flags`` has no entries.
visit_summary_handle_dict : `dict` [`int`: `lsst.daf.butler.DeferredDatasetHandle`], optional
Dict for visitSummary handles (key is visit). If None, using WCS
from the ccd_inputs will be attempted.
Definition at line 116 of file propagateSourceFlags.py.