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