25 #include <pybind11/pybind11.h>
26 #include <pybind11/stl.h>
32 using namespace pybind11::literals;
38 py::module::import(
"astshim.mapping");
40 py::class_<PcdMap, std::shared_ptr<PcdMap>, Mapping>
cls(mod,
"PcdMap");
44 cls.def(py::init<PcdMap const &>());
46 cls.def_property_readonly(
"disco", &PcdMap::getDisco);
47 cls.def_property_readonly(
"pcdCen", py::overload_cast<>(&PcdMap::getPcdCen, py::const_));
49 cls.def(
"copy", &PcdMap::copy);