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,