23 #include "pybind11/pybind11.h"
28 using namespace pybind11::literals;
38 py::class_<SincCoeffs<T>>
cls(mod, (
"SincCoeffs" + suffix).c_str());
40 cls.def_static(
"cache", &SincCoeffs<T>::cache,
"rInner"_a,
"rOuter"_a);
41 cls.def_static(
"get", &SincCoeffs<T>::get,
"outerEllipse"_a,
"innerRadiusFactor"_a);
47 py::module::import(
"lsst.afw.geom");
48 py::module::import(
"lsst.afw.image");
50 declareSincCoeffs<float>(mod,
"F");
51 declareSincCoeffs<double>(mod,
"D");