|
lsst.pipe.tasks gfb5511b3f7+6fc9c088ec
|
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) | |
Public Attributes | |
| 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.
Definition at line 95 of file propagateSourceFlags.py.
| lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsTask.__init__ | ( | self, | |
| schema, | |||
| ** | kwargs ) |
Definition at line 106 of file propagateSourceFlags.py.
|
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.
Definition at line 243 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 ) |
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`]
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`]
Dict for finalized_src_table handles (key is visit). May be None if
``config.finalized_source_flags`` has no entries.
Definition at line 115 of file propagateSourceFlags.py.
|
static |
Definition at line 104 of file propagateSourceFlags.py.
| lsst.pipe.tasks.propagateSourceFlags.PropagateSourceFlagsTask.schema |
Definition at line 109 of file propagateSourceFlags.py.