Write source table to parquet
Definition at line 224 of file postprocess.py.
◆ addCalibColumns()
def lsst.pipe.tasks.postprocess.WriteSourceTableTask.addCalibColumns |
( |
|
self, |
|
|
|
catalog, |
|
|
|
dataRef |
|
) |
| |
Add columns with local calibration evaluated at each centroid
for backwards compatibility with old repos.
This exists for the purpose of converting old src catalogs
(which don't have the expected local calib columns) to Source Tables.
Parameters
----------
catalog: `afwTable.SourceCatalog`
catalog to which calib columns will be added
dataRef: `lsst.daf.persistence.ButlerDataRef
for fetching the calibs from disk.
Returns
-------
newCat: `afwTable.SourceCatalog`
Source Catalog with requested local calib columns
Definition at line 260 of file postprocess.py.
◆ run()
def lsst.pipe.tasks.postprocess.WriteSourceTableTask.run |
( |
|
self, |
|
|
|
catalog, |
|
|
|
ccdVisitId = None |
|
) |
| |
Convert `src` catalog to parquet
Parameters
----------
catalog: `afwTable.SourceCatalog`
catalog to be converted
ccdVisitId: `int`
ccdVisitId to be added as a column
Returns
-------
result : `lsst.pipe.base.Struct`
``table``
`ParquetTable` version of the input catalog
Definition at line 239 of file postprocess.py.
◆ runDataRef()
def lsst.pipe.tasks.postprocess.WriteSourceTableTask.runDataRef |
( |
|
self, |
|
|
|
dataRef |
|
) |
| |
◆ writeMetadata()
def lsst.pipe.tasks.postprocess.WriteSourceTableTask.writeMetadata |
( |
|
self, |
|
|
|
dataRef |
|
) |
| |
◆ ConfigClass
The documentation for this class was generated from the following file: