Function lsst::afw::table::matchXy(SourceCatalog const&, double, bool)¶
Function Documentation¶
-
SourceMatchVector
lsst::afw::table
::
matchXy
(SourceCatalog const &cat, double 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, in pixels, is at mostradius
. The match is performed in pixel space (2d cartesian).- Parameters
[in] cat
: the catalog to self-match[in] radius
: match radius (pixels)[in] symmetric
: if cat totrue
symmetric matches are produced: i.e. if (s1, s2, d) is reported, then so is (s2, s1, d).