LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
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 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.