23 'MatchTractCatalogProbabilisticConfig',
'MatchTractCatalogProbabilisticTask',
29import lsst.pipe.base
as pipeBase
31from .match_tract_catalog
import MatchTractCatalogSubConfig, MatchTractCatalogSubTask
38 """Config class for the MatchTractCatalogSubTask to define methods returning
39 values that depend on multiple config settings.
44 return super().columns_in_ref
48 return super().columns_in_target
52 """An abstract interface for subtasks of MatchTractCatalogTask to match
53 two tract object catalogs.
58 Additional arguments to be passed to the `lsst.pipe.base.Task`
61 ConfigClass = MatchTractCatalogProbabilisticConfig
68 catalog_ref: pd.DataFrame,
69 catalog_target: pd.DataFrame,
70 wcs: afwGeom.SkyWcs =
None,
72 """Match sources in a reference tract catalog with a target catalog.
76 catalog_ref : `pandas.DataFrame`
77 A reference catalog to match objects/sources from.
78 catalog_target : `pandas.DataFrame`
79 A target catalog to match reference objects/sources to.
80 wcs : `lsst.afw.image.SkyWcs`
81 A coordinate system to convert catalog positions to sky coordinates.
82 Only needed
if `config.coords_ref_to_convert`
is used to convert
83 reference catalog sky coordinates to pixel positions.
87 retStruct : `lsst.pipe.base.Struct`
88 A struct
with output_ref
and output_target attribute containing the
89 output matched catalogs.
92 catalog_ref=catalog_ref,
93 catalog_target=catalog_target,
Set[str] columns_in_ref(self)
Set[str] columns_in_target(self)
def __init__(self, **kwargs)