LSSTApplications
17.0+124,17.0+14,17.0+73,18.0.0+37,18.0.0+80,18.0.0-4-g68ffd23+4,18.1.0-1-g0001055+12,18.1.0-1-g03d53ef+5,18.1.0-1-g1349e88+55,18.1.0-1-g2505f39+44,18.1.0-1-g5315e5e+4,18.1.0-1-g5e4b7ea+14,18.1.0-1-g7e8fceb+4,18.1.0-1-g85f8cd4+48,18.1.0-1-g8ff0b9f+4,18.1.0-1-ga2c679d+1,18.1.0-1-gd55f500+35,18.1.0-10-gb58edde+2,18.1.0-11-g0997b02+4,18.1.0-13-gfe4edf0b+12,18.1.0-14-g259bd21+21,18.1.0-19-gdb69f3f+2,18.1.0-2-g5f9922c+24,18.1.0-2-gd3b74e5+11,18.1.0-2-gfbf3545+32,18.1.0-26-g728bddb4+5,18.1.0-27-g6ff7ca9+2,18.1.0-3-g52aa583+25,18.1.0-3-g8ea57af+9,18.1.0-3-gb69f684+42,18.1.0-3-gfcaddf3+6,18.1.0-32-gd8786685a,18.1.0-4-gf3f9b77+6,18.1.0-5-g1dd662b+2,18.1.0-5-g6dbcb01+41,18.1.0-6-gae77429+3,18.1.0-7-g9d75d83+9,18.1.0-7-gae09a6d+30,18.1.0-9-gc381ef5+4,w.2019.45
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.