|
lsst.pipe.tasks gd5638573c2+392ae78cd2
|
Public Member Functions | |
| __init__ (self, schema, **kwargs) | |
| run (self, coadd_object_cat, ccd_inputs, source_table_handle_dict=None, finalized_source_table_handle_dict=None, visit_summary_handle_dict=None) | |
Public Attributes | |
| schema = schema | |
Static Public Attributes | |
| ConfigClass = PropagateSourceFlagsConfig | |
Protected Member Functions | |
| _get_source_table_column_names (self, x_column, y_column, flags) | |
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.
|
protected |
Get the list of source table columns from the config.
Parameters
----------
x_column : `str`
Name of column with x centroid.
y_column : `str`
Name of column with y centroid.
flags : `list` [`str`]
List of flags to retrieve.
Returns
-------
columns : [`list`] [`str`]
Columns to read.
| 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.