lsst.afw
21.0.0-8-gd9c33f4a0+ec3713772a
|
Go to the documentation of this file.
25 #ifndef LSST_AFW_TABLE_MATCH_H
26 #define LSST_AFW_TABLE_MATCH_H
30 #include "lsst/pex/config.h"
49 "Return only the closest match if more than one is found "
52 "Produce symmetric matches (default: true):\n"
53 "i.e. if (s1, s2, d) is reported, then so is (s2, s1, d)");
55 "Include failed matches (i.e. one 'match' is NULL) "
66 template <
typename Record1,
typename Record2>
77 template <
typename R1,
typename R2>
81 typedef Match<SimpleRecord, SimpleRecord>
SimpleMatch;
83 typedef Match<SourceRecord, SourceRecord>
SourceMatch;
99 MatchControl
const &mc =
111 MatchControl
const &mc =
123 template <
typename Cat1,
typename Cat2>
128 MatchControl
const &mc =
139 template <
typename Cat>
143 MatchControl
const &mc =
155 template <
typename Record1,
typename Record2>
177 template <
typename Cat1,
typename Cat2>
185 #endif // #ifndef LSST_AFW_TABLE_MATCH_H
bool symmetricMatch
"Produce symmetric matches (default: true):\n" "i.e. if (s1, s2, d) is reported, then so is (s2,...
std::vector< Match< typename Cat1::Record, typename Cat2::Record > > matchRaDec(Cat1 const &cat1, Cat2 const &cat2, lsst::geom::Angle radius, MatchControl const &mc=MatchControl())
Compute all tuples (s1,s2,d) where s1 belings to cat1, s2 belongs to cat2 and d, the distance between...
std::vector< Match< typename Cat1::Record, typename Cat2::Record > > unpackMatches(BaseCatalog const &matches, Cat1 const &cat1, Cat2 const &cat2)
Reconstruct a MatchVector from a BaseCatalog representation of the matches and a pair of catalogs.
std::shared_ptr< Record2 > second
Match< SimpleRecord, SourceRecord > ReferenceMatch
BaseCatalog packMatches(std::vector< Match< Record1, Record2 > > const &matches)
Return a table representation of a MatchVector that can be used to persist it.
std::vector< SimpleMatch > SimpleMatchVector
SortedCatalogT< SourceRecord > SourceCatalog
SourceMatchVector matchXy(SourceCatalog const &cat1, SourceCatalog const &cat2, double radius, MatchControl const &mc=MatchControl())
Compute all tuples (s1,s2,d) where s1 belings to cat1, s2 belongs to cat2 and d, the distance between...
ItemVariant const * other
bool findOnlyClosest
"Return only the closest match if more than one is found " "(default: true)" ;
Match< SimpleRecord, SimpleRecord > SimpleMatch
Lightweight representation of a geometric match between two records.
A base class for image defects.
std::shared_ptr< Record1 > first
Match(std::shared_ptr< Record1 > const &r1, std::shared_ptr< Record2 > const &r2, double dist)
CatalogT< BaseRecord > BaseCatalog
std::vector< SourceMatch > SourceMatchVector
Match< SourceRecord, SourceRecord > SourceMatch
bool includeMismatches
"Include failed matches (i.e. one 'match' is NULL) " "(default: false)" ;
Pass parameters to algorithms that match list of sources.
Match(Match< R1, R2 > const &other)
std::vector< ReferenceMatch > ReferenceMatchVector