mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 07:40:03 +02:00
added pybind for it
This commit is contained in:
parent
e8ac048114
commit
ff101e19cd
@ -1664,6 +1664,14 @@ void init_det(py::module &m) {
|
|||||||
(void (Detector::*)(int, sls::Positions)) &
|
(void (Detector::*)(int, sls::Positions)) &
|
||||||
Detector::setRxDbitOffset,
|
Detector::setRxDbitOffset,
|
||||||
py::arg(), py::arg() = Positions{});
|
py::arg(), py::arg() = Positions{});
|
||||||
|
CppDetectorApi.def("getRxDbitReorder",
|
||||||
|
(Result<bool>(Detector::*)(sls::Positions) const) &
|
||||||
|
Detector::getRxDbitReorder,
|
||||||
|
py::arg() = Positions{});
|
||||||
|
CppDetectorApi.def("setRxDbitReorder",
|
||||||
|
(void (Detector::*)(bool, sls::Positions)) &
|
||||||
|
Detector::setRxDbitReorder,
|
||||||
|
py::arg(), py::arg() = Positions{});
|
||||||
CppDetectorApi.def("setDigitalIODelay",
|
CppDetectorApi.def("setDigitalIODelay",
|
||||||
(void (Detector::*)(uint64_t, int, sls::Positions)) &
|
(void (Detector::*)(uint64_t, int, sls::Positions)) &
|
||||||
Detector::setDigitalIODelay,
|
Detector::setDigitalIODelay,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user