25 #include "pybind11/pybind11.h"
26 #include "pybind11/stl.h"
34 using namespace pybind11::literals;
40 void declareProjectionHandler(
py::module &mod) {
41 py::class_<ProjectionHandler, std::shared_ptr<ProjectionHandler>>
cls(mod,
"ProjectionHandler");
46 void declareIdentityProjectionHandler(
py::module &mod) {
47 py::class_<IdentityProjectionHandler, std::shared_ptr<IdentityProjectionHandler>, ProjectionHandler>
cls(
48 mod,
"IdentityProjectionHandler");
52 void declareOneTPPerVisitHandler(
py::module &mod) {
53 py::class_<OneTPPerVisitHandler, std::shared_ptr<OneTPPerVisitHandler>, ProjectionHandler>
cls(
54 mod,
"OneTPPerVisitHandler");
55 cls.def(py::init<CcdImageList const &>(),
"ccdImageList"_a);
59 py::module::import(
"lsst.jointcal.ccdImage");
60 declareProjectionHandler(mod);
61 declareIdentityProjectionHandler(mod);
62 declareOneTPPerVisitHandler(mod);