diff options
-rw-r--r-- | qolab/hardware/scope/rigolds1054z.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py index bcd351d..094cb00 100644 --- a/qolab/hardware/scope/rigolds1054z.py +++ b/qolab/hardware/scope/rigolds1054z.py @@ -413,7 +413,9 @@ class RigolDS1054z(ScopeSCPI): VoltsPerDiv = self.getChanVoltsPerDiv(chNum) tr = trRaw tr.values = ( - np.array(trRaw.values, dtype=int) - rawChanCfg["yreference"] - rawChanCfg["yorigin"] + np.array(trRaw.values, dtype=int) + - rawChanCfg["yreference"] + - rawChanCfg["yorigin"] ) * rawChanCfg["yincrement"] tr.config["unit"] = "Volt" |