diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-22 13:57:08 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-22 13:57:08 -0400 |
commit | ecbb21c0ffc65a12c7ee875135a95b5c2942b783 (patch) | |
tree | d01c4dec0286ddb4715d1b7a0d9ae86225949856 /qolab/hardware/scope/rigolds1054z.py | |
parent | 9c316bfd705269d3e3b90bcfb7dbfa874dddd683 (diff) | |
download | qolab-ecbb21c0ffc65a12c7ee875135a95b5c2942b783.tar.gz qolab-ecbb21c0ffc65a12c7ee875135a95b5c2942b783.zip |
black formatter
Diffstat (limited to 'qolab/hardware/scope/rigolds1054z.py')
-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" |