diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-21 00:32:27 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-21 00:34:39 -0400 |
commit | 2aaab1316d176950df7b8679c6fc1ffa32fc9cf7 (patch) | |
tree | 0273a0fe65ec0081c82892283525245711beb007 /qolab | |
parent | bc6707e1b4f21fada8dfc26955ad31f75bee31d3 (diff) | |
download | qolab-2aaab1316d176950df7b8679c6fc1ffa32fc9cf7.tar.gz qolab-2aaab1316d176950df7b8679c6fc1ffa32fc9cf7.zip |
nice line format
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/rigolds1054z.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py index 6ac51c5..8706cf1 100644 --- a/qolab/hardware/scope/rigolds1054z.py +++ b/qolab/hardware/scope/rigolds1054z.py @@ -280,9 +280,9 @@ class RigolDS1054z(ScopeSCPI): sparsing = rawChanCfg["sparsing"] Npnts = rawChanCfg["Npnts"] ind = np.linspace(0, Npnts - 1, Npnts) - tval = (ind - rawChanCfg["xreference"]) * rawChanCfg[ - "xincrement" - ] * sparsing - rawChanCfg["xorigin"] + dx = rawChanCfg["xincrement"] + xorig = rawChanCfg["xorigin"] + tval = (ind - rawChanCfg["xreference"]) * dx * sparsing + xorig t = Trace("time") t.values = tval.reshape(tval.size, 1) t.config["unit"] = "S" |