matchesToCatalog

lsst.afw.table.matchesToCatalog(matches, matchMeta)

Denormalise matches into a Catalog of “unpacked matches”.

Parameters:
matchesSimpleMatch

Unpacked matches, i.e. a list of Match objects whose schema has “first” and “second” attributes which, resepectively, contain the reference and source catalog entries, and a “distance” field (the measured distance between the reference and source objects).

matchMetaPropertySet

Metadata for matches (must have .add attribute).

Returns:
mergedCataloglsst.afw.table.BaseCatalog

Catalog of matches (with ref_ and src_ prefix identifiers for referece and source entries, respectively, including alias maps from reference and source catalogs)