matchesFromCatalog

lsst.afw.table.matchesFromCatalog(catalog, sourceSlotConfig=None)

Generate a list of ReferenceMatches from a Catalog of “unpacked matches”.

Parameters:
catalog : lsst.afw.table.BaseCatalog

Catalog of matches. Must have schema where reference entries are prefixed with “ref_” and source entries are prefixed with “src_”.

sourceSlotConfig : lsst.meas.base.baseMeasurement.SourceSlotConfig, optional

Configuration for source slots.

Returns:
matches : lsst.afw.table.ReferenceMatch

List of matches.