LSST Applications g04dff08e69+fafbcb10e2,g0d33ba9806+e09a96fa4e,g0fba68d861+cc01b48236,g1e78f5e6d3+fb95f9dda6,g1ec0fe41b4+f536777771,g1fd858c14a+ae46bc2a71,g35bb328faa+fcb1d3bbc8,g4af146b050+dd94f3aad7,g4d2262a081+7ee6f976aa,g53246c7159+fcb1d3bbc8,g5a012ec0e7+b20b785ecb,g60b5630c4e+e09a96fa4e,g6273192d42+bf8cfc5e62,g67b6fd64d1+4086c0989b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+831c06c8fc,g8852436030+54b48a5987,g89139ef638+4086c0989b,g9125e01d80+fcb1d3bbc8,g94187f82dc+e09a96fa4e,g989de1cb63+4086c0989b,g9f33ca652e+64be6d9d51,g9f7030ddb1+d11454dffd,ga2b97cdc51+e09a96fa4e,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+23605820ec,gb58c049af0+f03b321e39,gb89ab40317+4086c0989b,gcf25f946ba+54b48a5987,gd6cbbdb0b4+af3c3595f5,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+15f2daff9d,ge278dab8ac+d65b3c2b70,ge410e46f29+4086c0989b,gf67bdafdda+4086c0989b,v29.0.0.rc5
LSST Data Management Base Package
|
A hanger for star associations. More...
#include <StarMatch.h>
Public Member Functions | |
StarMatch (FatPoint point1, FatPoint point2, std::shared_ptr< const BaseStar > star1, std::shared_ptr< const BaseStar > star2) | |
constructor. | |
double | computeDistance (const AstrometryTransform &transform) const |
returns the distance from transform(point1) to point2. | |
double | computeChi2 (const AstrometryTransform &transform) const |
returns the chi2 (using errors in the FatPoint's) | |
void | setDistance (const AstrometryTransform &transform) |
to be used before sorting on distances. | |
double | getDistance () const |
returns the value computed by the above one. | |
void | swap () |
StarMatch ()=default | |
~StarMatch ()=default | |
Public Attributes | |
FatPoint | point1 |
FatPoint | point2 |
2 points | |
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 55 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 70 of file StarMatch.h.
|
explicitdefault |
|
default |
double lsst::jointcal::StarMatch::computeChi2 | ( | const AstrometryTransform & | transform | ) | const |
returns the chi2 (using errors in the FatPoint's)
Definition at line 43 of file StarMatch.cc.
|
inline |
returns the distance from transform(point1) to point2.
Definition at line 78 of file StarMatch.h.
|
inline |
|
inline |
to be used before sorting on distances.
Definition at line 86 of file StarMatch.h.
|
inline |
Definition at line 116 of file StarMatch.h.
Definition at line 122 of file StarMatch.h.
|
friend |
Definition at line 55 of file StarMatch.cc.
Definition at line 120 of file StarMatch.h.
Definition at line 126 of file StarMatch.h.
|
friend |
Definition at line 56 of file StarMatch.h.
double lsst::jointcal::StarMatch::chi2 {} |
Definition at line 65 of file StarMatch.h.
double lsst::jointcal::StarMatch::distance {} |
Definition at line 64 of file StarMatch.h.
FatPoint lsst::jointcal::StarMatch::point1 |
Definition at line 61 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 61 of file StarMatch.h.
std::shared_ptr<const BaseStar> lsst::jointcal::StarMatch::s1 |
Definition at line 63 of file StarMatch.h.
std::shared_ptr<const BaseStar> lsst::jointcal::StarMatch::s2 |
Definition at line 63 of file StarMatch.h.