2 #if !defined(LSST_MEAS_ASTROM_MATCHOPTIMISTICB_H) 3 #define LSST_MEAS_ASTROM_MATCHOPTIMISTICB_H 29 double getX()
const {
return position.getX(); }
30 double getY()
const {
return position.getY(); }
47 : record(record), position(position) {}
81 "maximum allowed distance between reference objects and sources (pixels)");
84 LSST_CONTROL_FIELD(allowedNonperpDeg,
double,
"allowed non-perpendicularity of x and y axes (deg)");
89 : refFluxField(
"r_flux"),
90 sourceFluxField(
"slot_ApFlux_flux"),
93 matchingAllowancePix(10.0),
96 allowedNonperpDeg(3.0),
98 maxDeterminant(0.02) {
130 bool verbose =
false);
bool operator==(RecordProxy const &other) const
bool operator!=(RecordProxy const &other) const
afw::table::ReferenceMatchVector matchOptimisticB(afw::table::SimpleCatalog const &posRefCat, 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...
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
std::vector< RecordProxy > ProxyVector
ProxyPair(RecordProxy const &s1, RecordProxy const &s2)
~MatchOptimisticBControl()
table::Key< table::Array< std::uint8_t > > wcs
RecordProxy(boost::shared_ptr< afw::table::SimpleRecord > record, geom::Point2D const &position)
Construct a RecordProxy.
MatchOptimisticBControl()
ProxyVector makeProxies(afw::table::SourceCatalog const &sourceCat, afw::geom::SkyWcs const &distortedWcs, afw::geom::SkyWcs const &tanWcs)
A wrapper around a SimpleRecord or SourceRecord that allows us to record a pixel position in a way th...
boost::shared_ptr< afw::table::SimpleRecord > record