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:
PipelineTaskLoad 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
runmethod.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_ref
astropy.table.Table A reference catalog to diff objects/sources from.
- catalog_target
astropy.table.Table A target catalog to diff reference objects/sources to.
- catalog_match_ref
astropy.table.Table A catalog with match indices of target sources and selection flags for each reference source.
- catalog_match_target
astropy.table.Table A catalog with selection flags for each target source.
- wcs
lsst.afw.image.SkyWcs A coordinate system to convert catalog positions to sky coordinates, if necessary.
Returns#
- retStruct
lsst.pipe.base.Struct A struct with output_ref and output_target attribute containing the output matched catalogs.
- catalog_ref
- runQuantum(butlerQC, inputRefs, outputRefs)#
Do butler IO and transform to provide in memory objects for tasks
runmethod.Parameters#
- butlerQC
QuantumContext A butler which is specialized to operate in the context of a
lsst.daf.butler.Quantum.- inputRefs
InputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined input/prerequisite connections.- outputRefs
OutputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined output connections.
- butlerQC