partialread changed to readnrows

This commit is contained in:
2021-08-31 16:46:49 +02:00
parent 11b1d9f6db
commit 25d03f949e
35 changed files with 171 additions and 168 deletions

View File

@ -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