DiffMatchedTractCatalogTask#

class lsst.pipe.tasks.diff_matched_tract_catalog.DiffMatchedTractCatalogTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Load subsets of matched catalogs and output a merged catalog of matched sources.

Methods Summary

run(catalog_ref, catalog_target, ...[, wcs])

Load matched reference and target (measured) catalogs, measure summary statistics, and output a combined matched catalog with columns from both inputs.

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Methods Documentation

run(catalog_ref: Table, catalog_target: Table, catalog_match_ref: Table, catalog_match_target: Table, wcs: SkyWcs = None) Struct#

Load matched reference and target (measured) catalogs, measure summary statistics, and output a combined matched catalog with columns from both inputs.

Parameters#

catalog_refastropy.table.Table

A reference catalog to diff objects/sources from.

catalog_targetastropy.table.Table

A target catalog to diff reference objects/sources to.

catalog_match_refastropy.table.Table

A catalog with match indices of target sources and selection flags for each reference source.

catalog_match_targetastropy.table.Table

A catalog with selection flags for each target source.

wcslsst.afw.image.SkyWcs

A coordinate system to convert catalog positions to sky coordinates, if necessary.

Returns#

retStructlsst.pipe.base.Struct

A struct with output_ref and output_target attribute containing the output matched catalogs.

runQuantum(butlerQC, inputRefs, outputRefs)#

Do butler IO and transform to provide in memory objects for tasks run method.

Parameters#

butlerQCQuantumContext

A butler which is specialized to operate in the context of a lsst.daf.butler.Quantum.

inputRefsInputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined input/prerequisite connections.

outputRefsOutputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined output connections.