MatchTractCatalogTask#
- class lsst.pipe.tasks.match_tract_catalog.MatchTractCatalogTask(initInputs, **kwargs)#
Bases:
PipelineTaskMatch sources in a reference tract catalog with those in a target catalog.
Methods Summary
run(catalog_ref, catalog_target[, wcs])Match sources in a reference tract catalog with a target catalog.
runQuantum(butlerQC, inputRefs, outputRefs)Do butler IO and transform to provide in memory objects for tasks
runmethod.Methods Documentation
- run(catalog_ref: DataFrame | Table, catalog_target: DataFrame | Table, wcs: SkyWcs = None) Struct#
Match sources in a reference tract catalog with a target catalog.
Parameters#
- catalog_ref
pandas.DataFrame|astropy.table.Table A reference catalog to match objects/sources from.
- catalog_target
pandas.DataFrame|astropy.table.Table A target catalog to match reference objects/sources to.
- 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