From ecbb21c0ffc65a12c7ee875135a95b5c2942b783 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 22 Jul 2024 13:57:08 -0400 Subject: black formatter --- qolab/hardware/scope/rigolds1054z.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qolab/hardware/scope') 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" -- cgit v1.2.3