22 #include "pybind11/pybind11.h" 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);
PYBIND11_MODULE(camera, mod)
A base class for image defects.