23 #ifndef LSST_MEAS_EXTENSIONS_simpleShape_h_INCLUDED 24 #define LSST_MEAS_EXTENSIONS_simpleShape_h_INCLUDED 35 namespace lsst {
namespace meas {
namespace extensions {
namespace simpleShape {
99 static unsigned int const N_FLAGS = 1;
116 template <
typename T>
150 static Eigen::Matrix<double,5,6> convertRawMoments(
151 Eigen::Matrix<double,6,1>
const & q,
178 static Eigen::Matrix<double, 5, 5> correctWeightedMoments(
184 virtual void measure(
214 bool getFlag(
int index)
const {
return flags[index]; }
222 #endif // !LSST_MEAS_EXTENSIONS_simpleShape_h_INCLUDED
Struct to hold the results of SimpleShape when we don't run it as a plugin.
bool operator!=(SimpleShapeResultKey const &other) const
Compare the FunctorKey for equality with another, using the underlying Keys.
Eigen::Matrix< double, 5, 5 > covariance
Matrix of uncertainties; ordered Ixx, Iyy, Ixy, Ix, Iy.
afw::table::Schema schema
bool operator==(CoordKey const &lhs, CoordKey const &rhs)
bool getFlag(int index) const
static base::FlagDefinition const FAILURE
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A C++ control class to handle SdssShapeAlgorithm's configuration.
std::bitset< SimpleShape::N_FLAGS > flags
double nSigmaRegion
"Maximum radius for pixels to include, in units of sigma" ;
lsst::meas::base::FlagHandler const & getFlagHandler() const
afw::geom::Point2D center
Measured first moments, or the input center if !recentroid.
double sigma
"Sigma of circular Gaussian used as weight function, in pixels" ;
afw::geom::ellipses::Quadrupole ellipse
Measured second moments.
SimpleShapeControl Control