25 #ifndef LSST_MEAS_MODELFIT_REGULARIZEDMOMENTS_H 26 #define LSST_MEAS_MODELFIT_REGULARIZEDMOMENTS_H 28 #include <Eigen/Dense> 55 using Moments = Eigen::Matrix<Element, 6, 1>;
106 void evaluateModel();
120 bool testScalar(
double tol = DEFAULT_TEST_TOLERANCE);
122 bool testAlphaX(
double tol = DEFAULT_TEST_TOLERANCE);
123 bool testAlphaY(
double tol = DEFAULT_TEST_TOLERANCE);
125 bool testBetaX(
double tol = DEFAULT_TEST_TOLERANCE);
126 bool testBetaY(
double tol = DEFAULT_TEST_TOLERANCE);
127 bool testBetaXY(
double tol = DEFAULT_TEST_TOLERANCE);
132 #endif // LSST_MEAS_MODELFIT_REGULARIZEDMOMENTS_H bool testAlphaY(double tol=DEFAULT_TEST_TOLERANCE)
bool testBetaY(double tol=DEFAULT_TEST_TOLERANCE)
Eigen::Matrix< Element, 6, 1 > Moments
Moments computeValues() const
Returns the value of the biased weighted moments given the input weight and object's intrinsic moment...
MomentsModel(Moments const &W)
Construct a MomentsModel object with a given vector of weight function moments.
Eigen::Matrix< Element, 2, 2 > SecondMoment
Eigen::Matrix< Element, 6, 6 > Jacobian
bool testAlphaX(double tol=DEFAULT_TEST_TOLERANCE)
void setParameters(Moments const &Q)
Sets the moments corresponding to the astronomical object's intrinsic moments.
double constexpr DEFAULT_TEST_TOLERANCE
bool testBetaX(double tol=DEFAULT_TEST_TOLERANCE)
A model for calculating observed shape moments and their derivatives.
Eigen::Matrix< Element, 2, 1 > FirstMoment
bool testScalar(double tol=DEFAULT_TEST_TOLERANCE)
Jacobian computeJacobian() const
Computes and returns the gradient of the model biased weighted moments along each of the intrinsic mo...
bool testBetaXY(double tol=DEFAULT_TEST_TOLERANCE)