22 #include "pybind11/pybind11.h" 33 py::enum_<BasisTypeEnum>(mod,
"BasisTypeEnum")
Constants, typedefs, and general-purpose functions for shapelets library.
PYBIND11_MODULE(constants, mod)
int computeSize(int order)
Return the size of the coefficient vector for the given order.
Polar shapelets or Gauss-Laguerre functions, as defined in Bernstein and Jarvis, 2002.
A base class for image defects.
int computeOrder(int size)
Infer the order of a shapelet expansion from the number of coefficients.
Cartesian shapelets or Gauss-Hermite functions, as defined in Refregier, 2003.
double intSqrt(int n)
Compute the square root of an integer number.
int computeOffset(int order)
Return the offset of the given order in a coefficient vector.
double rationalSqrt(int n, int d)
Compute the square root of a rational number i.e. sqrt(n/d)