22 #include "pybind11/pybind11.h"
28 using namespace pybind11::literals;
32 namespace algorithms {
36 afw::table::io::python::declarePersistableFacade<DoubleGaussianPsf>(mod,
"DoubleGaussianPsf");
38 py::class_<DoubleGaussianPsf, std::shared_ptr<DoubleGaussianPsf>,
39 afw::table::io::PersistableFacade<DoubleGaussianPsf>, KernelPsf>
40 clsDoubleGaussianPsf(mod,
"DoubleGaussianPsf");
42 clsDoubleGaussianPsf.def(py::init<int, int, double, double, double>(),
"width"_a,
"height"_a,
"sigma1"_a,
43 "sigma2"_a = 0.0,
"b"_a = 0.0);
46 clsDoubleGaussianPsf.def(
"resized", &DoubleGaussianPsf::resized,
"width"_a,
"height"_a);
47 clsDoubleGaussianPsf.def(
"getSigma1", &DoubleGaussianPsf::getSigma1);
48 clsDoubleGaussianPsf.def(
"getSigma2", &DoubleGaussianPsf::getSigma2);
49 clsDoubleGaussianPsf.def(
"getB", &DoubleGaussianPsf::getB);
50 clsDoubleGaussianPsf.def(
"isPersistable", &DoubleGaussianPsf::isPersistable);