mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
removed store in ram from python
This commit is contained in:
parent
e7da4ae862
commit
f66345d128
@ -732,13 +732,6 @@ class Detector(CppDetectorApi):
|
||||
res = self.getMeasuredSubFramePeriod()
|
||||
return element_if_equal([it.total_seconds() for it in res])
|
||||
|
||||
@property
|
||||
def storeinram(self):
|
||||
return element_if_equal(self.getStoreInRamMode())
|
||||
|
||||
@storeinram.setter
|
||||
def storeinram(self, value):
|
||||
self.setStoreInRamMode(value)
|
||||
|
||||
"""
|
||||
Jungfrau specific
|
||||
|
@ -318,6 +318,16 @@ void init_det(py::module &m) {
|
||||
(void (Detector::*)(defs::dacIndex, int, int, sls::Positions)) &
|
||||
Detector::setOnChipDAC,
|
||||
py::arg(), py::arg(), py::arg(), py::arg() = Positions{})
|
||||
.def("getExternalSignalFlags",
|
||||
(Result<defs::externalSignalFlag>(Detector::*)(int, sls::Positions)
|
||||
const) &
|
||||
Detector::getExternalSignalFlags,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("setExternalSignalFlags",
|
||||
(void (Detector::*)(int, defs::externalSignalFlag,
|
||||
sls::Positions)) &
|
||||
Detector::setExternalSignalFlags,
|
||||
py::arg(), py::arg(), py::arg() = Positions{})
|
||||
.def("acquire", (void (Detector::*)()) & Detector::acquire)
|
||||
.def("clearAcquiringFlag",
|
||||
(void (Detector::*)()) & Detector::clearAcquiringFlag)
|
||||
@ -745,14 +755,6 @@ void init_det(py::module &m) {
|
||||
(void (Detector::*)(bool, sls::Positions)) &
|
||||
Detector::setOverFlowMode,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getStoreInRamMode",
|
||||
(Result<bool>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getStoreInRamMode,
|
||||
py::arg() = Positions{})
|
||||
.def("setStoreInRamMode",
|
||||
(void (Detector::*)(bool, sls::Positions)) &
|
||||
Detector::setStoreInRamMode,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getBottom",
|
||||
(Result<bool>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getBottom,
|
||||
@ -914,16 +916,6 @@ void init_det(py::module &m) {
|
||||
(Result<sls::ns>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getExptimeLeft,
|
||||
py::arg() = Positions{})
|
||||
.def("getExternalSignalFlags",
|
||||
(Result<defs::externalSignalFlag>(Detector::*)(int, sls::Positions)
|
||||
const) &
|
||||
Detector::getExternalSignalFlags,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("setExternalSignalFlags",
|
||||
(void (Detector::*)(int, defs::externalSignalFlag,
|
||||
sls::Positions)) &
|
||||
Detector::setExternalSignalFlags,
|
||||
py::arg(), py::arg(), py::arg() = Positions{})
|
||||
.def("getNumberOfBursts",
|
||||
(Result<int64_t>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getNumberOfBursts,
|
||||
@ -1396,7 +1388,8 @@ void init_det(py::module &m) {
|
||||
Detector::getLastClientIP,
|
||||
py::arg() = Positions{})
|
||||
.def("executeCommand",
|
||||
(void (Detector::*)(const std::string &, sls::Positions)) &
|
||||
(Result<std::string>(Detector::*)(const std::string &,
|
||||
sls::Positions)) &
|
||||
Detector::executeCommand,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getNumberOfFramesFromStart",
|
||||
|
Loading…
x
Reference in New Issue
Block a user