22 #include "pybind11/pybind11.h"
23 #include "pybind11/eigen.h"
24 #include "ndarray/pybind11.h"
29 using namespace pybind11::literals;
35 py::module::import(
"lsst.afw.geom");
36 py::class_<GaussHermiteProjection, std::shared_ptr<GaussHermiteProjection>> clsGaussHermiteProjection(
37 mod,
"GaussHermiteProjection");
39 clsGaussHermiteProjection.def(py::init<int>(),
"maxOrder"_a);
41 clsGaussHermiteProjection.def(
"compute",
45 GaussHermiteProjection::compute);
46 clsGaussHermiteProjection.def(
"compute",
50 GaussHermiteProjection::compute);
51 clsGaussHermiteProjection.def(
53 Eigen::Matrix2d
const &,
int)
const) &
54 GaussHermiteProjection::compute);
56 clsGaussHermiteProjection.def(
"getMaxOrder", &GaussHermiteProjection::getMaxOrder);