2 #if !defined(LSST_MEAS_ASTROM_MATCHOPTIMISTICB_H) 3 #define LSST_MEAS_ASTROM_MATCHOPTIMISTICB_H 28 double getX()
const {
return position.getX(); }
29 double getY()
const {
return position.getY(); }
48 ) : record(record), position(position) {}
86 "maximum allowed distance between reference objects and sources (pixels)");
89 LSST_CONTROL_FIELD(allowedNonperpDeg,
double,
"allowed non-perpendicularity of x and y axes (deg)");
94 refFluxField(
"r_flux"),
95 sourceFluxField(
"slot_ApFlux_flux"),
98 matchingAllowancePix(10.0),
101 allowedNonperpDeg(3.0),
102 numPointsForShape(6),
bool operator==(RecordProxy const &other) const
lsst::afw::geom::Point2D position
bool operator!=(RecordProxy const &other) const
ProxyVector makeProxies(lsst::afw::table::SourceCatalog const &sourceCat, afw::geom::SkyWcs const &distortedWcs, afw::geom::SkyWcs const &tanWcs)
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
RecordProxy(boost::shared_ptr< lsst::afw::table::SimpleRecord > record, lsst::afw::geom::Point2D const &position)
Construct a RecordProxy.
std::vector< RecordProxy > ProxyVector
ProxyPair(RecordProxy const &s1, RecordProxy const &s2)
~MatchOptimisticBControl()
MatchOptimisticBControl()
A wrapper around a SimpleRecord or SourceRecord that allows us to record a pixel position in a way th...
lsst::afw::table::ReferenceMatchVector matchOptimisticB(lsst::afw::table::SimpleCatalog const &posRefCat, lsst::afw::table::SourceCatalog const &sourceCat, MatchOptimisticBControl const &control, afw::geom::SkyWcs const &wcs, int posRefBegInd=0, bool verbose=false)
Match sources to stars in a position reference catalog using optimistic pattern matching B...
boost::shared_ptr< lsst::afw::table::SimpleRecord > record