mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-22 10:41:33 +02:00
fixed ratecorr 0 in python
This commit is contained in:
parent
7eafceb0f9
commit
3954913661
@ -868,6 +868,8 @@ class Detector(CppDetectorApi):
|
||||
|
||||
@ratecorr.setter
|
||||
def ratecorr(self, tau):
|
||||
if isinstance(tau, int):
|
||||
tau = float(tau)
|
||||
self.setRateCorrection(tau)
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user