22 #include "pybind11/pybind11.h"
28 using namespace pybind11::literals;
32 namespace algorithms {
36 afw::table::io::python::declarePersistableFacade<SingleGaussianPsf>(mod,
"SingleGaussianPsf");
38 py::class_<SingleGaussianPsf, std::shared_ptr<SingleGaussianPsf>,
39 afw::table::io::PersistableFacade<SingleGaussianPsf>, KernelPsf>
40 clsSingleGaussianPsf(mod,
"SingleGaussianPsf");
42 clsSingleGaussianPsf.def(py::init<int, int, double>(),
"width"_a,
"height"_a,
"sigma"_a);
45 clsSingleGaussianPsf.def(
"resized", &SingleGaussianPsf::resized,
"width"_a,
"height"_a);
46 clsSingleGaussianPsf.def(
"getSigma", &SingleGaussianPsf::getSigma);
47 clsSingleGaussianPsf.def(
"isPersistable", &SingleGaussianPsf::isPersistable);