24 #include <pybind11/pybind11.h>
30 using namespace pybind11::literals;
36 py::module::import(
"astshim.mapping");
38 py::class_<UnitMap, std::shared_ptr<UnitMap>, Mapping>
cls(mod,
"UnitMap");
40 cls.def(py::init<int, std::string const &>(),
"ncoord"_a,
"options"_a =
"");
41 cls.def(py::init<UnitMap const &>());
43 cls.def(
"copy", &UnitMap::copy);