LSSTApplications
17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
LSSTDataManagementBasePackage
|
A hanger for star associations. More...
#include <StarMatch.h>
Public Member Functions | |
StarMatch (const FatPoint &point1, const FatPoint &point2, std::shared_ptr< const BaseStar > star1, std::shared_ptr< const BaseStar > star2) | |
constructor. More... | |
double | computeDistance (const AstrometryTransform &transform) const |
returns the distance from transform(point1) to point2. More... | |
double | computeChi2 (const AstrometryTransform &transform) const |
returns the chi2 (using errors in the FatPoint's) More... | |
void | setDistance (const AstrometryTransform &transform) |
to be used before sorting on distances. More... | |
double | getDistance () const |
returns the value computed by the above one. More... | |
void | swap () |
StarMatch () | |
~StarMatch () | |
Public Attributes | |
FatPoint | point1 |
FatPoint | point2 |
2 points More... | |
std::shared_ptr< const BaseStar > | s1 |
std::shared_ptr< const BaseStar > | s2 |
double | distance |
double | chi2 |
Friends | |
class | StarMatchList |
std::ostream & | operator<< (std::ostream &stream, const StarMatch &Match) |
bool | compareStar1 (const StarMatch &one, const StarMatch &two) |
bool | sameStar1 (const StarMatch &one, const StarMatch &two) |
bool | compareStar2 (const StarMatch &one, const StarMatch &two) |
bool | sameStar2 (const StarMatch &one, const StarMatch &two) |
A hanger for star associations.
Definition at line 54 of file StarMatch.h.
|
inline |
constructor.
gives 2 points (that contain the geometry), plus pointers to the Star objects (which are there for user convenience).
Definition at line 69 of file StarMatch.h.
|
inlineexplicit |
Definition at line 95 of file StarMatch.h.
|
inline |
Definition at line 99 of file StarMatch.h.
double lsst::jointcal::StarMatch::computeChi2 | ( | const AstrometryTransform & | transform | ) | const |
returns the chi2 (using errors in the FatPoint's)
Definition at line 44 of file StarMatch.cc.
|
inline |
|
inline |
|
inline |
to be used before sorting on distances.
Definition at line 85 of file StarMatch.h.
|
inline |
Definition at line 89 of file StarMatch.h.
Definition at line 115 of file StarMatch.h.
Definition at line 121 of file StarMatch.h.
|
friend |
Definition at line 56 of file StarMatch.cc.
Definition at line 119 of file StarMatch.h.
Definition at line 125 of file StarMatch.h.
|
friend |
Definition at line 55 of file StarMatch.h.
double lsst::jointcal::StarMatch::chi2 |
Definition at line 64 of file StarMatch.h.
double lsst::jointcal::StarMatch::distance |
Definition at line 63 of file StarMatch.h.
FatPoint lsst::jointcal::StarMatch::point1 |
Definition at line 60 of file StarMatch.h.
FatPoint lsst::jointcal::StarMatch::point2 |
2 points
the Star pointers (the pointer is in fact generic, pointed data is never used).
Definition at line 60 of file StarMatch.h.
std::shared_ptr<const BaseStar> lsst::jointcal::StarMatch::s1 |
Definition at line 62 of file StarMatch.h.
std::shared_ptr<const BaseStar> lsst::jointcal::StarMatch::s2 |
Definition at line 62 of file StarMatch.h.