lsst.meas.base
14.0-12-g233aa8e+2
|
Result object SdssShapeAlgorithm. More...
#include <SdssShape.h>
Public Member Functions | |
bool | getFlag (unsigned int index) const |
Flag getter for Swig, which doesn't understand std::bitset. More... | |
bool | getFlag (std::string const &name) const |
SdssShapeResult () | |
Constructor; initializes everything to NaN. More... | |
Shape const | getShape () const |
Return an afw::geom::ellipses object corresponding to xx, yy, xy. More... | |
afw::geom::ellipses::Quadrupole | getQuadrupole () |
void | setShape (Shape const &shape) |
Set struct elements from the given Quadrupole object. More... | |
ShapeCov const | getShapeErr () const |
Return the 3x3 symmetric covariance matrix, with rows and columns ordered (xx, yy, xy) More... | |
void | setShapeErr (ShapeCov const &matrix) |
Set the struct uncertainty elements from the given matrix, with rows and columns ordered (xx, yy, xy) More... | |
void | setShapeErr (ErrElement xxSigma, ErrElement yySigma, ErrElement xySigma) |
Set the struct uncertainty elements from the given values. More... | |
Centroid const | getCentroid () const |
Return a Point object containing the measured x and y. More... | |
void | setCentroid (Centroid const ¢roid) |
Set the struct fields from the given Point object. More... | |
afw::geom::Point< CentroidElement > | getPoint () |
Return the 2D point type corresponding to this result. More... | |
CentroidCov const | getCentroidErr () const |
Return the 2x2 symmetric covariance matrix, with rows and columns ordered (x, y) More... | |
void | setCentroidErr (CentroidCov const &matrix) |
Set the struct uncertainty fields from the given matrix, with rows and columns ordered (x, y) More... | |
void | setCentroidErr (ErrElement _xSigma, ErrElement _ySigma) |
Set the struct uncertainty fields from the sigma values. More... | |
Public Attributes | |
ErrElement | flux_xx_Cov |
flux, xx term in the uncertainty covariance matrix More... | |
ErrElement | flux_yy_Cov |
flux, yy term in the uncertainty covariance matrix More... | |
ErrElement | flux_xy_Cov |
flux, xy term in the uncertainty covariance matrix More... | |
std::bitset< SdssShapeAlgorithm::N_FLAGS > | flags |
Status flags (see SdssShapeAlgorithm). More... | |
ShapeElement | xx |
ShapeElement | yy |
ShapeElement | xy |
ErrElement | xxSigma |
1-Sigma uncertainty on xx (sqrt of variance) More... | |
ErrElement | yySigma |
1-Sigma uncertainty on yy (sqrt of variance) More... | |
ErrElement | xySigma |
1-Sigma uncertainty on xy (sqrt of variance) More... | |
ErrElement | xx_yy_Cov |
xx,yy term in the uncertainty convariance matrix More... | |
ErrElement | xx_xy_Cov |
xx,xy term in the uncertainty convariance matrix More... | |
ErrElement | yy_xy_Cov |
yy,xy term in the uncertainty convariance matrix More... | |
CentroidElement | x |
x (column) coordinate of the measured position More... | |
CentroidElement | y |
y (row) coordinate of the measured position More... | |
ErrElement | xSigma |
1-Sigma uncertainty on x (sqrt of variance) More... | |
ErrElement | ySigma |
1-Sigma uncertainty on y (sqrt of variance) More... | |
ErrElement | x_y_Cov |
x,y term in the uncertainty convariance matrix More... | |
Flux | flux |
Measured flux in DN. More... | |
FluxErrElement | fluxSigma |
1-Sigma error (sqrt of variance) on flux in DN. More... | |
Result object SdssShapeAlgorithm.
Because we have use cases for running SdssShape outside of the measurement framework (in particular, we need to run it on PSF model images), we provide an interface that doesn't need to use SourceRecord for its inputs and outputs. Instead, it returns an instance of this class.
Note: for what I guess are historical reasons, SdssShape computes covariance terms between the flux and the shape, but not between the flux and centroid or centroid and shape.
This should logically be an inner class, but Swig doesn't know how to parse those.
Definition at line 238 of file SdssShape.h.
lsst::meas::base::SdssShapeResult::SdssShapeResult | ( | ) |
Constructor; initializes everything to NaN.
Definition at line 660 of file SdssShape.cc.
|
inherited |
Return a Point object containing the measured x and y.
Definition at line 37 of file CentroidUtilities.cc.
|
inherited |
Return the 2x2 symmetric covariance matrix, with rows and columns ordered (x, y)
Definition at line 44 of file CentroidUtilities.cc.
|
inline |
Flag getter for Swig, which doesn't understand std::bitset.
Definition at line 248 of file SdssShape.h.
|
inline |
Definition at line 250 of file SdssShape.h.
|
inlineinherited |
Return the 2D point type corresponding to this result.
Definition at line 72 of file CentroidUtilities.h.
|
inlineinherited |
Definition at line 90 of file ShapeUtilities.h.
|
inherited |
Return an afw::geom::ellipses object corresponding to xx, yy, xy.
This method can be used to return an average radius for the measured shape, e.g. getShape()
.getDeterminantRadius()
Definition at line 40 of file ShapeUtilities.cc.
|
inherited |
Return the 3x3 symmetric covariance matrix, with rows and columns ordered (xx, yy, xy)
Definition at line 48 of file ShapeUtilities.cc.
|
inherited |
Set the struct fields from the given Point object.
Definition at line 39 of file CentroidUtilities.cc.
|
inherited |
Set the struct uncertainty fields from the given matrix, with rows and columns ordered (x, y)
Definition at line 52 of file CentroidUtilities.cc.
|
inherited |
Set the struct uncertainty fields from the sigma values.
Definition at line 58 of file CentroidUtilities.cc.
|
inherited |
Set struct elements from the given Quadrupole object.
Definition at line 42 of file ShapeUtilities.cc.
|
inherited |
Set the struct uncertainty elements from the given matrix, with rows and columns ordered (xx, yy, xy)
Definition at line 57 of file ShapeUtilities.cc.
|
inherited |
Set the struct uncertainty elements from the given values.
Definition at line 66 of file ShapeUtilities.cc.
std::bitset<SdssShapeAlgorithm::N_FLAGS> lsst::meas::base::SdssShapeResult::flags |
Status flags (see SdssShapeAlgorithm).
Definition at line 244 of file SdssShape.h.
|
inherited |
Measured flux in DN.
Definition at line 38 of file FluxUtilities.h.
ErrElement lsst::meas::base::SdssShapeResult::flux_xx_Cov |
flux, xx term in the uncertainty covariance matrix
Definition at line 240 of file SdssShape.h.
ErrElement lsst::meas::base::SdssShapeResult::flux_xy_Cov |
flux, xy term in the uncertainty covariance matrix
Definition at line 242 of file SdssShape.h.
ErrElement lsst::meas::base::SdssShapeResult::flux_yy_Cov |
flux, yy term in the uncertainty covariance matrix
Definition at line 241 of file SdssShape.h.
|
inherited |
1-Sigma error (sqrt of variance) on flux in DN.
Definition at line 39 of file FluxUtilities.h.
|
inherited |
x (column) coordinate of the measured position
Definition at line 37 of file CentroidUtilities.h.
|
inherited |
x,y term in the uncertainty convariance matrix
Definition at line 41 of file CentroidUtilities.h.
|
inherited |
1-Sigma uncertainty on x (sqrt of variance)
Definition at line 39 of file CentroidUtilities.h.
|
inherited |
Definition at line 41 of file ShapeUtilities.h.
|
inherited |
xx,xy term in the uncertainty convariance matrix
Definition at line 48 of file ShapeUtilities.h.
|
inherited |
xx,yy term in the uncertainty convariance matrix
Definition at line 47 of file ShapeUtilities.h.
|
inherited |
1-Sigma uncertainty on xx (sqrt of variance)
Definition at line 44 of file ShapeUtilities.h.
|
inherited |
Definition at line 43 of file ShapeUtilities.h.
|
inherited |
1-Sigma uncertainty on xy (sqrt of variance)
Definition at line 46 of file ShapeUtilities.h.
|
inherited |
y (row) coordinate of the measured position
Definition at line 38 of file CentroidUtilities.h.
|
inherited |
1-Sigma uncertainty on y (sqrt of variance)
Definition at line 40 of file CentroidUtilities.h.
|
inherited |
Definition at line 42 of file ShapeUtilities.h.
|
inherited |
yy,xy term in the uncertainty convariance matrix
Definition at line 49 of file ShapeUtilities.h.
|
inherited |
1-Sigma uncertainty on yy (sqrt of variance)
Definition at line 45 of file ShapeUtilities.h.