mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-05 09:45:13 +02:00
added python bindings and formatting (does nothing really)
This commit is contained in:
@@ -1083,6 +1083,10 @@ void init_det(py::module &m) {
|
||||
CppDetectorApi.def("setRxZmqHwm",
|
||||
(void (Detector::*)(const int)) & Detector::setRxZmqHwm,
|
||||
py::arg());
|
||||
CppDetectorApi.def("streamRxDummyHeader",
|
||||
(void (Detector::*)(sls::Positions) const) &
|
||||
Detector::streamRxDummyHeader,
|
||||
py::arg() = Positions{});
|
||||
CppDetectorApi.def("getSubExptime",
|
||||
(Result<sls::ns>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getSubExptime,
|
||||
|
||||
Reference in New Issue
Block a user