Template Function lsst::afw::table::matchRaDec(Cat const&, lsst::geom::Angle, bool)¶
Function Documentation¶
-
template<typename
Cat>
std::vector<Match<typename Cat::Record, typename Cat::Record>>lsst::afw::table::matchRaDec(Cat const &cat, lsst::geom::Angle radius, bool symmetric) Compute all tuples (s1,s2,d) where s1 != s2, s1 and s2 both belong to
cat, and d, the distance between s1 and s2, is at mostradius. The match is performed in ra, dec space.This is instantiated for Simple and Source catalogs.
- Parameters
[in] cat: the catalog to self-match[in] radius: match radius[in] symmetric: if cat totruesymmetric matches are produced: i.e. if (s1, s2, d) is reported, then so is (s2, s1, d).