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_instFlux"),
93 matchingAllowancePix(10.0),
96 allowedNonperpDeg(3.0),
98 maxDeterminant(0.02) {
130 bool verbose =
false);
bool operator==(RecordProxy const &other) const
A 2-dimensional celestial WCS that transform pixels to ICRS RA/Dec, using the LSST standard for pixel...
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)
A preprocessor macro used to define fields in C++ "control object" structs.
table::Key< table::Array< std::uint8_t > > wcs
std::vector< RecordProxy > ProxyVector
ProxyPair(RecordProxy const &s1, RecordProxy const &s2)
~MatchOptimisticBControl()
A base class for image defects.
RecordProxy(boost::shared_ptr< afw::table::SimpleRecord > record, geom::Point2D const &position)
Construct a RecordProxy.
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
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...
ItemVariant const * other
Record class that must contain a unique ID field and a celestial coordinate field.
boost::shared_ptr< afw::table::SimpleRecord > record