2 #if !defined(LSST_MEAS_ASTROM_MATCHOPTIMISTICB_H)
3 #define LSST_MEAS_ASTROM_MATCHOPTIMISTICB_H
28 double getX()
const {
return position.getX(); }
48 ) : record(record), position(position) {}
76 pa = std::atan2(y2-y1, x2-x1);
86 "maximum allowed distance between reference objects and sources (pixels)");
135 MatchOptimisticBControl
const &control,
lsst::afw::geom::Point2D position
int numPointsForShape
"number of points in a matching shape" ;
double matchingAllowancePix
"maximum allowed distance between reference objects and sources (pixels)" ;
std::vector< ReferenceMatch > ReferenceMatchVector
Implementation of the WCS standard for a any projection.
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
RecordProxy(boost::shared_ptr< lsst::afw::table::SimpleRecord > record, lsst::afw::geom::Point2D const &position)
lsst::afw::table::ReferenceMatchVector matchOptimisticB(lsst::afw::table::SimpleCatalog const &posRefCat, lsst::afw::table::SourceCatalog const &sourceCat, MatchOptimisticBControl const &control, afw::image::Wcs const &wcs, int posRefBegInd=0, bool verbose=false)
std::vector< RecordProxy > ProxyVector
ProxyPair(RecordProxy const &s1, RecordProxy const &s2)
~MatchOptimisticBControl()
bool operator!=(RecordProxy const &other) const
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
double maxDeterminant
"?" ;
MatchOptimisticBControl()
double maxOffsetPix
"maximum allowed frame translation (pixels)" ;
int numBrightStars
"maximum number of bright reference stars to use" ;
std::string refFluxField
"name of flux field in reference catalog" ;
bool operator==(RecordProxy const &other) const
double maxRotationDeg
"maximum allowed frame rotation (deg)" ;
Point< double, 2 > Point2D
ProxyVector makeProxies(lsst::afw::table::SourceCatalog const &sourceCat, afw::image::Wcs const &distortedWcs, afw::image::Wcs const &tanWcs)
std::string sourceFluxField
"name of flux field in source catalog" ;
Record class that must contain a unique ID field and a celestial coordinate field.
double allowedNonperpDeg
"allowed non-perpendicularity of x and y axes (deg)" ;
int minMatchedPairs
"minimum number of matches" ;
boost::shared_ptr< lsst::afw::table::SimpleRecord > record