MatchTractCatalogProbabilisticTask#
- class lsst.pipe.tasks.match_tract_catalog_probabilistic.MatchTractCatalogProbabilisticTask(**kwargs)#
Bases:
MatchProbabilisticTask,MatchTractCatalogSubTaskAn abstract interface for subtasks of MatchTractCatalogTask to match two tract object catalogs.
Parameters#
- **kwargs
Additional arguments to be passed to the
lsst.pipe.base.Taskconstructor.
Methods Summary
run(catalog_ref, catalog_target[, wcs])Match sources in a reference tract catalog with a target catalog.
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. Only needed if
config.coords_ref_to_convertis used to convert reference catalog sky coordinates to pixel positions.
Returns#
- retStruct
lsst.pipe.base.Struct A struct with output_ref and output_target attribute containing the output matched catalogs.
- catalog_ref