adding fliprows to python (#625)

This commit is contained in:
Dhanya Thattil 2023-01-19 11:03:04 +01:00 committed by GitHub
parent ac64afe747
commit a6aaa2c3c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1565,6 +1565,20 @@ class Detector(CppDetectorApi):
def trimval(self, value):
ut.set_using_dict(self.setAllTrimbits, value)
@property
@element
def fliprows(self):
"""
[Eiger] flips rows paramater sent to slsreceiver to stream as json parameter to flip rows in gui. \n
[Jungfrau] flips rows in the detector itself. For bottom module and number of interfaces must be set to 2. slsReceiver and slsDetectorGui does not handle.
"""
return self.getFlipRows()
@fliprows.setter
def fliprows(self, value):
ut.set_using_dict(self.setFlipRows, value)
@property
@element
def master(self):