From 35f95e603e7beb12c0662a4d9c30275fe94f2023 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Tue, 23 Jun 2020 11:45:13 +0200 Subject: [PATCH 1/2] removed patternClockControl removed from python --- python/src/detector.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/python/src/detector.cpp b/python/src/detector.cpp index 06ae7c435..00300df96 100644 --- a/python/src/detector.cpp +++ b/python/src/detector.cpp @@ -1187,14 +1187,6 @@ void init_det(py::module &m) { (void (Detector::*)(uint64_t, sls::Positions)) & Detector::setPatternIOControl, py::arg(), py::arg() = Positions{}) - .def("getPatternClockControl", - (Result(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", (Result(Detector::*)(int, sls::Positions)) & Detector::getPatternWord, From f592d215704a78681edcc0e76b2db66fcebfcf5d Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Tue, 23 Jun 2020 11:49:13 +0200 Subject: [PATCH 2/2] clkctrl --- python/slsdet/detector.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/python/slsdet/detector.py b/python/slsdet/detector.py index 9aa9bc821..124d97636 100755 --- a/python/slsdet/detector.py +++ b/python/slsdet/detector.py @@ -974,14 +974,6 @@ class Detector(CppDetectorApi): print("Set only") return 0 - @property - def patclkctrl(self): - return element_if_equal(self.getPatternClockControl()) - - @patclkctrl.setter - def patclkctrl(self, mask): - self.setPatternClockControl(mask) - # patioctrl @property def patioctrl(self):