69 catalog_ref: pd.DataFrame | astropy.table.Table,
70 catalog_target: pd.DataFrame | astropy.table.Table,
71 wcs: afwGeom.SkyWcs =
None,
73 """Match sources in a reference tract catalog with a target catalog.
77 catalog_ref : `pandas.DataFrame` | `astropy.table.Table`
78 A reference catalog to match objects/sources from.
79 catalog_target : `pandas.DataFrame` | `astropy.table.Table`
80 A target catalog to match reference objects/sources to.
81 wcs : `lsst.afw.image.SkyWcs`
82 A coordinate system to convert catalog positions to sky coordinates.
83 Only needed if `config.coords_ref_to_convert` is used to convert
84 reference catalog sky coordinates to pixel positions.
88 retStruct : `lsst.pipe.base.Struct`
89 A struct with output_ref and output_target attribute containing the
90 output matched catalogs.
93 catalog_ref=catalog_ref,
94 catalog_target=catalog_target,