23 #include <pybind11/pybind11.h>
30 namespace py = pybind11;
31 using namespace py::literals;
38 py::module mod(
"_gaussianPsf",
"Python wrapper for afw _gaussianPsf library");
40 table::io::python::declarePersistableFacade<GaussianPsf>(mod,
"GaussianPsf");
43 clsGaussianPsf(mod,
"GaussianPsf");
46 clsGaussianPsf.def(py::init<int, int, double>(),
"width"_a,
"height"_a,
"sigma"_a);
47 clsGaussianPsf.def(py::init<geom::Extent2I const &, double>(),
"dimensions"_a,
"sigma"_a);
51 clsGaussianPsf.def(
"getDimensions", &GaussianPsf::getDimensions);
52 clsGaussianPsf.def(
"getSigma", &GaussianPsf::getSigma);
53 clsGaussianPsf.def(
"isPersistable", &GaussianPsf::isPersistable);
PYBIND11_PLUGIN(_cameraPoint)
A polymorphic base class for representing an image's Point Spread Function.