MatchTractCatalogSubTask#

class lsst.pipe.tasks.match_tract_catalog.MatchTractCatalogSubTask(**kwargs)#

Bases: Task, ABC

An abstract interface for subtasks of MatchTractCatalogTask to match two tract object catalogs.

Parameters#

**kwargs

Additional arguments to be passed to the lsst.pipe.base.Task constructor.

Methods Summary

run(catalog_ref, catalog_target[, wcs])

Match sources in a reference tract catalog with a target catalog.

Methods Documentation

abstract 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_refpandas.DataFrame | astropy.table.Table

A reference catalog to match objects/sources from.

catalog_targetpandas.DataFrame | astropy.table.Table

A target catalog to match reference objects/sources to.

wcslsst.afw.image.SkyWcs

A coordinate system to convert catalog positions to sky coordinates.

Returns#

retStructlsst.pipe.base.Struct

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