diff options
author | Michael Vorobiov <mvorobiov@wm.edu> | 2024-11-05 16:46:10 -0500 |
---|---|---|
committer | Michael Vorobiov <mvorobiov@wm.edu> | 2024-11-05 16:46:10 -0500 |
commit | f68583ccb68a66dc895848de676680a81fcc4e61 (patch) | |
tree | fc060393c313fd41b293200a13fb6257ab0eb488 | |
parent | 1ef08671d000dec11e81467e8c9b3765fd155233 (diff) | |
download | qolab-f68583ccb68a66dc895848de676680a81fcc4e61.tar.gz qolab-f68583ccb68a66dc895848de676680a81fcc4e61.zip |
time axis starts with capital T and units are lower case 's'
-rw-r--r-- | qolab/hardware/scope/sds1104x.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py index c730cb7..b0a2f34 100644 --- a/qolab/hardware/scope/sds1104x.py +++ b/qolab/hardware/scope/sds1104x.py @@ -303,9 +303,9 @@ class SDS1104X(ScopeSCPI): Npnts = self.getAvailableNumberOfPoints(1) tval = np.arange(Npnts) / sampleRate * sparsing tval = tval - timePerDiv * self.horizDivOnScreen / 2 - trigDelay - t = Trace("time") + t = Trace("Time") t.values = tval.reshape(tval.size, 1) - t.config["unit"] = "S" + t.config["unit"] = "s" t.config["tags"]["TimePerDiv"] = timePerDiv t.config["tags"]["TrigDelay"] = trigDelay t.config["tags"]["SampleRate"] = sampleRate |