mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-15 00:51:21 +01:00
eiger python
This commit is contained in:
@@ -10,6 +10,8 @@ namespace py = pybind11;
|
||||
void init_enums(py::module &m) {
|
||||
py::class_<slsDetectorDefs> Defs(m, "slsDetectorDefs");
|
||||
py::class_<slsDetectorDefs::xy> xy(m, "xy");
|
||||
xy.def(py::init());
|
||||
xy.def(py::init<int,int>());
|
||||
xy.def_readwrite("x", &slsDetectorDefs::xy::x);
|
||||
xy.def_readwrite("y", &slsDetectorDefs::xy::y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user