|
LSST Applications g013ef56533+b8d55c8942,g083dd6704c+a047e97985,g199a45376c+0ba108daf9,g1fd858c14a+7a3b874d60,g210f2d0738+7416ca6900,g262e1987ae+1d557ba9a3,g29ae962dfc+519d34895e,g2cef7863aa+aef1011c0b,g30d7c61c20+36d16ea71a,g35bb328faa+8c5ae1fdc5,g3fd5ace14f+cb326ad149,g47891489e3+f459a6810c,g53246c7159+8c5ae1fdc5,g54cd7ddccb+890c8e1e5d,g5a60e81ecd+6240c63dbc,g64539dfbff+7416ca6900,g67b6fd64d1+f459a6810c,g6ebf1fc0d4+8c5ae1fdc5,g74acd417e5+0bae3c876a,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g89139ef638+f459a6810c,g8d7436a09f+dee7680868,g8ea07a8fe4+81eaaadc04,g90f42f885a+34c0557caf,g97be763408+14b8164b5b,g98a1a72a9c+8389601a76,g98df359435+fff771c62d,gb8cb2b794d+6728931916,gbf99507273+8c5ae1fdc5,gc2a301910b+7416ca6900,gca7fc764a6+f459a6810c,gd7ef33dd92+f459a6810c,gdab6d2f7ff+0bae3c876a,ge410e46f29+f459a6810c,ge41e95a9f2+7416ca6900,geaed405ab2+e3b4b2a692,gf9a733ac38+8c5ae1fdc5,w.2025.43
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.