24 #include <pybind11/pybind11.h>
32 using namespace py::literals;
41 [](
auto& mod,
auto&
cls) {
42 table::io::python::addPersistableMethods<GaussianPsf>(cls);
44 cls.def(py::init<int, int, double>(),
"width"_a,
"height"_a,
"sigma"_a);
45 cls.def(py::init<lsst::geom::Extent2I const&, double>(),
"dimensions"_a,
"sigma"_a);
47 cls.def(
"clone", &GaussianPsf::clone);
48 cls.def(
"resized", &GaussianPsf::resized,
"width"_a,
"height"_a);
49 cls.def(
"getDimensions", &GaussianPsf::getDimensions);
50 cls.def(
"getSigma", &GaussianPsf::getSigma);
51 cls.def(
"isPersistable", &GaussianPsf::isPersistable);