mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
partialread changed to readnrows
This commit is contained in:
@ -1846,7 +1846,7 @@ class Detector(CppDetectorApi):
|
||||
|
||||
@property
|
||||
@element
|
||||
def partialread(self):
|
||||
def readnrows(self):
|
||||
"""
|
||||
[Eiger] Number of rows to read out per half module starting from the centre.
|
||||
[Jungfrau] Number of rows to read per module starting from the centre.
|
||||
@ -1856,11 +1856,11 @@ class Detector(CppDetectorApi):
|
||||
[Eiger]The permissible values depend on dynamic range and 10Gbe enabled.\n\n
|
||||
[Jungfrau] Options: 8 - 512 (multiples of 8)
|
||||
"""
|
||||
return self.getPartialReadout()
|
||||
return self.getReadNRows()
|
||||
|
||||
@partialread.setter
|
||||
def partialread(self, value):
|
||||
ut.set_using_dict(self.setPartialReadout, value)
|
||||
@readnrows.setter
|
||||
def readnrows(self, value):
|
||||
ut.set_using_dict(self.setReadNRows, value)
|
||||
|
||||
|
||||
@property
|
||||
|
@ -874,13 +874,13 @@ void init_det(py::module &m) {
|
||||
(void (Detector::*)(sls::ns, sls::Positions)) &
|
||||
Detector::setRateCorrection,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getPartialReadout",
|
||||
.def("getReadNRows",
|
||||
(Result<int>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getPartialReadout,
|
||||
Detector::getReadNRows,
|
||||
py::arg() = Positions{})
|
||||
.def("setPartialReadout",
|
||||
.def("setReadNRows",
|
||||
(void (Detector::*)(const int, sls::Positions)) &
|
||||
Detector::setPartialReadout,
|
||||
Detector::setReadNRows,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getInterruptSubframe",
|
||||
(Result<bool>(Detector::*)(sls::Positions) const) &
|
||||
|
Reference in New Issue
Block a user