Function lsst::afw::table::matchXy(SourceCatalog const&, SourceCatalog const&, double, MatchControl const&)¶
Function Documentation¶
-
SourceMatchVector
lsst::afw::table
::
matchXy
(SourceCatalog const &cat1, SourceCatalog const &cat2, double radius, MatchControl const &mc = MatchControl()) - Parameters
cat1
: first catalogcat2
: second catalogradius
: match radius (pixels)mc
: how to do the matching (obeys MatchControl::findOnlyClosest)
Compute all tuples (s1,s2,d) where s1 belings to
cat1
, s2 belongs tocat2
and d, the distance between s1 and s2, in pixels, is at mostradius
. If cat1 and cat2 are identical, then this call is equivalent tomatchXy(cat1,radius)
. The match is performed in pixel space (2d cartesian).