23 #include "pybind11/pybind11.h" 24 #include "pybind11/stl.h" 29 namespace py = pybind11;
36 void declareProjectionHandler(py::module &mod) {
37 py::class_<ProjectionHandler, std::shared_ptr<ProjectionHandler>> cls(mod,
"ProjectionHandler");
40 void declareOneTPPerVisitHandler(py::module &mod) {
41 py::class_<OneTPPerVisitHandler, std::shared_ptr<OneTPPerVisitHandler>, ProjectionHandler> cls(
42 mod,
"OneTPPerVisitHandler");
43 cls.def(py::init<CcdImageList const &>(),
"ccdImageList"_a);
47 py::module::import(
"lsst.jointcal.ccdImage");
48 py::module mod(
"projectionHandler");
50 declareProjectionHandler(mod);
51 declareOneTPPerVisitHandler(mod);
Class for a simple mapping implementing a generic Gtransfo.