LSST Applications g0265f82a02+0e5473021a,g02d81e74bb+f5613e8b4f,g1470d8bcf6+190ad2ba91,g14a832a312+311607e4ab,g2079a07aa2+86d27d4dc4,g2305ad1205+a8e3196225,g295015adf3+b67ee847e5,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g3ddfee87b4+a761f810f3,g487adcacf7+17c8fdbcbd,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+65b5bd823e,g5a732f18d5+53520f316c,g64a986408d+f5613e8b4f,g6c1bc301e9+51106c2951,g858d7b2824+f5613e8b4f,g8a8a8dda67+585e252eca,g99cad8db69+6729933424,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,ga8c6da7877+ef4e3a5875,gb0e22166c9+60f28cb32d,gb6a65358fc+0e5473021a,gba4ed39666+c2a2e4ac27,gbb8dafda3b+e9bba80f27,gc120e1dc64+eee469a5e5,gc28159a63d+0e5473021a,gcf0d15dbbd+a761f810f3,gdaeeff99f8+f9a426f77a,ge6526c86ff+d4c1d4bfef,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gf1cff7945b+f5613e8b4f,w.2024.16
LSST Data Management Base Package
|
A reusable struct for centroid measurements. More...
#include <CentroidUtilities.h>
Public Member Functions | |
CentroidResult () | |
Constructor; initializes everything to NaN. | |
CentroidResult (CentroidElement x_, CentroidElement y_, CentroidCov const &matrix) | |
Constructor; initializes everything from values. | |
CentroidResult (CentroidElement x_, CentroidElement y_, ErrElement xErr_, ErrElement yErr_) | |
Constructor; initializes everything from values. | |
Centroid const | getCentroid () const |
Return a Point object containing the measured x and y. | |
void | setCentroid (Centroid const ¢roid) |
Set the struct fields from the given Point object. | |
geom::Point< CentroidElement > | getPoint () |
Return the 2D point type corresponding to this result. | |
CentroidCov const | getCentroidErr () const |
Return the 2x2 symmetric covariance matrix, with rows and columns ordered (x, y) | |
void | setCentroidErr (CentroidCov const &matrix) |
Set the struct uncertainty fields from the given matrix, with rows and columns ordered (x, y) | |
void | setCentroidErr (ErrElement _xErr, ErrElement _yErr) |
Set the struct uncertainty fields from the sigma values. | |
Public Attributes | |
CentroidElement | x |
x (column) coordinate of the measured position | |
CentroidElement | y |
y (row) coordinate of the measured position | |
ErrElement | xErr |
standard deviation of x | |
ErrElement | yErr |
standard deviation of y | |
ErrElement | x_y_Cov |
x,y term in the uncertainty convariance matrix | |
A reusable struct for centroid measurements.
Definition at line 41 of file CentroidUtilities.h.
lsst::meas::base::CentroidResult::CentroidResult | ( | ) |
Constructor; initializes everything to NaN.
Definition at line 34 of file CentroidUtilities.cc.
|
inlineexplicit |
|
inlineexplicit |
Centroid const lsst::meas::base::CentroidResult::getCentroid | ( | ) | const |
Return a Point object containing the measured x and y.
Definition at line 41 of file CentroidUtilities.cc.
CentroidCov const lsst::meas::base::CentroidResult::getCentroidErr | ( | ) | const |
Return the 2x2 symmetric covariance matrix, with rows and columns ordered (x, y)
Definition at line 48 of file CentroidUtilities.cc.
|
inline |
Return the 2D point type corresponding to this result.
Definition at line 70 of file CentroidUtilities.h.
void lsst::meas::base::CentroidResult::setCentroid | ( | Centroid const & | centroid | ) |
Set the struct fields from the given Point object.
Definition at line 43 of file CentroidUtilities.cc.
void lsst::meas::base::CentroidResult::setCentroidErr | ( | CentroidCov const & | matrix | ) |
void lsst::meas::base::CentroidResult::setCentroidErr | ( | ErrElement | _xErr, |
ErrElement | _yErr ) |
Set the struct uncertainty fields from the sigma values.
Definition at line 60 of file CentroidUtilities.cc.
CentroidElement lsst::meas::base::CentroidResult::x |
x (column) coordinate of the measured position
Definition at line 42 of file CentroidUtilities.h.
ErrElement lsst::meas::base::CentroidResult::x_y_Cov |
x,y term in the uncertainty convariance matrix
Definition at line 46 of file CentroidUtilities.h.
ErrElement lsst::meas::base::CentroidResult::xErr |
standard deviation of x
Definition at line 44 of file CentroidUtilities.h.
CentroidElement lsst::meas::base::CentroidResult::y |
y (row) coordinate of the measured position
Definition at line 43 of file CentroidUtilities.h.
ErrElement lsst::meas::base::CentroidResult::yErr |
standard deviation of y
Definition at line 45 of file CentroidUtilities.h.