Template Function lsst::meas::astrom::makeMatchStatistics

Function Documentation

template<typename MatchT>
afw::math::Statistics lsst::meas::astrom::makeMatchStatistics(std::vector<MatchT> const &matchList, int const flags, afw::math::StatisticsControl const &sctrl = afw::math::StatisticsControl())

Compute statistics of the distance field of a match list

Parameters
  • [in] matchList: list of matchList between reference objects and sources; fields read:

    • distance: distance between source and reference object, in arbitrary units; the resulting statistics have the same units as distance

  • [in] flags: what to calculate; OR constants such as lsst::afw::math::MEAN, MEANCLIP, STDDEV, MEDIAN, defined in lsst/afw/math/Statitics.h’s Property enum

  • [in] sctrl: statistics configuration