vthrehsold

This commit is contained in:
Erik Frojdh 2020-08-19 18:01:27 +02:00
parent d631fda2c7
commit 209c97f44c

View File

@ -706,6 +706,10 @@ class Detector(CppDetectorApi):
def vthreshold(self):
return element_if_equal(self.getDAC(dacIndex.VTHRESHOLD, False))
@vthreshold.setter
def vthreshold(self, value):
self.setDAC(dacIndex.VTHRESHOLD, value, False)
@property
def type(self):
return element_if_equal(self.getDetectorType())