LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #include "pybind11/pybind11.h"
27 using namespace pybind11::literals;
33 py::enum_<BasisTypeEnum>(mod,
"BasisTypeEnum")
int computeOrder(int size)
Infer the order of a shapelet expansion from the number of coefficients.
@ LAGUERRE
Polar shapelets or Gauss-Laguerre functions, as defined in Bernstein and Jarvis, 2002.
Constants, typedefs, and general-purpose functions for shapelets library.
int computeSize(int order)
Return the size of the coefficient vector for the given order.
double rationalSqrt(int n, int d)
Compute the square root of a rational number i.e. sqrt(n/d)
@ HERMITE
Cartesian shapelets or Gauss-Hermite functions, as defined in Refregier, 2003.
PYBIND11_MODULE(constants, mod)
A base class for image defects.
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.