Function lsst::afw::table::packMatches(SimpleMatchVector const&)

Function Documentation

template<typename Record1, typename Record2>
BaseCatalog lsst::afw::table::packMatches(std::vector<Match<Record1, Record2>> const &matches)

Return a table representation of a MatchVector that can be used to persist it.

The schema of the returned object has “first” (RecordId), “second” (RecordID), and “distance” (double) fields.

Parameters
  • [in] matches: A std::vector of Match objects to convert to table form.