mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
Merge branch 'pattern' of github.com:slsdetectorgroup/slsDetectorPackage into pattern
This commit is contained in:
@ -974,14 +974,6 @@ class Detector(CppDetectorApi):
|
|||||||
print("Set only")
|
print("Set only")
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
@property
|
|
||||||
def patclkctrl(self):
|
|
||||||
return element_if_equal(self.getPatternClockControl())
|
|
||||||
|
|
||||||
@patclkctrl.setter
|
|
||||||
def patclkctrl(self, mask):
|
|
||||||
self.setPatternClockControl(mask)
|
|
||||||
|
|
||||||
# patioctrl
|
# patioctrl
|
||||||
@property
|
@property
|
||||||
def patioctrl(self):
|
def patioctrl(self):
|
||||||
|
@ -1187,14 +1187,6 @@ void init_det(py::module &m) {
|
|||||||
(void (Detector::*)(uint64_t, sls::Positions)) &
|
(void (Detector::*)(uint64_t, sls::Positions)) &
|
||||||
Detector::setPatternIOControl,
|
Detector::setPatternIOControl,
|
||||||
py::arg(), py::arg() = Positions{})
|
py::arg(), py::arg() = Positions{})
|
||||||
.def("getPatternClockControl",
|
|
||||||
(Result<uint64_t>(Detector::*)(sls::Positions) const) &
|
|
||||||
Detector::getPatternClockControl,
|
|
||||||
py::arg() = Positions{})
|
|
||||||
.def("setPatternClockControl",
|
|
||||||
(void (Detector::*)(uint64_t, sls::Positions)) &
|
|
||||||
Detector::setPatternClockControl,
|
|
||||||
py::arg(), py::arg() = Positions{})
|
|
||||||
.def("getPatternWord",
|
.def("getPatternWord",
|
||||||
(Result<uint64_t>(Detector::*)(int, sls::Positions)) &
|
(Result<uint64_t>(Detector::*)(int, sls::Positions)) &
|
||||||
Detector::getPatternWord,
|
Detector::getPatternWord,
|
||||||
|
Reference in New Issue
Block a user