25 #ifndef LSST_AFW_MATH_SHAPELETS_CONSTANTS_H
26 #define LSST_AFW_MATH_SHAPELETS_CONSTANTS_H
40 namespace lsst {
namespace shapelet {
109 "Invalid size for shapelet coefficient matrix"
#define LSST_EXCEPT(type,...)
int computeOrder(int size)
Infer the order of a shapelet expansion from the number of coefficients.
int computeOffset(int order)
Return the offset of the given order in a coefficient vector.
double intSqrt(int n)
Compute the square root of an integer number.
int computeSize(int order)
Return the size of the coefficient vector for the given order.
double const BASIS_NORMALIZATION
Normalization factor for 1-d orthonormal shapelets: pi^(-1/4)
double rationalSqrt(int n, int d)
Compute the square root of a rational number i.e. sqrt(n/d)
ndarray::Array< double, 1 > Array1d
Typedef for a commonly-used array type.
@ HERMITE
Cartesian shapelets or Gauss-Hermite functions, as defined in Refregier, 2003.
@ LAGUERRE
Polar shapelets or Gauss-Laguerre functions, as defined in Bernstein and Jarvis, 2002.
afw::geom::ellipses::Quadrupole EllipseCore