23 #include <pybind11/pybind11.h> 38 py::class_<GaussianPsf, std::shared_ptr<GaussianPsf>,
Psf> clsGaussianPsf(mod,
"GaussianPsf");
40 table::io::python::addPersistableMethods<GaussianPsf>(clsGaussianPsf);
43 clsGaussianPsf.def(py::init<int, int, double>(),
"width"_a,
"height"_a,
"sigma"_a);
44 clsGaussianPsf.def(py::init<lsst::geom::Extent2I const &, double>(),
"dimensions"_a,
"sigma"_a);
48 clsGaussianPsf.def(
"resized", &GaussianPsf::resized,
"width"_a,
"height"_a);
49 clsGaussianPsf.def(
"getDimensions", &GaussianPsf::getDimensions);
50 clsGaussianPsf.def(
"getSigma", &GaussianPsf::getSigma);
51 clsGaussianPsf.def(
"isPersistable", &GaussianPsf::isPersistable);
A base class for image defects.
A polymorphic base class for representing an image's Point Spread Function.
PYBIND11_MODULE(gaussianPsf, mod)