mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 02:00:18 +01:00
fixed ratecorr 0 in python
This commit is contained in:
@@ -868,6 +868,8 @@ class Detector(CppDetectorApi):
|
||||
|
||||
@ratecorr.setter
|
||||
def ratecorr(self, tau):
|
||||
if isinstance(tau, int):
|
||||
tau = float(tau)
|
||||
self.setRateCorrection(tau)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user