aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope
diff options
context:
space:
mode:
authorMichael Vorobiov <mvorobiov@wm.edu>2024-11-05 16:46:10 -0500
committerMichael Vorobiov <mvorobiov@wm.edu>2024-11-05 16:46:10 -0500
commitf68583ccb68a66dc895848de676680a81fcc4e61 (patch)
treefc060393c313fd41b293200a13fb6257ab0eb488 /qolab/hardware/scope
parent1ef08671d000dec11e81467e8c9b3765fd155233 (diff)
downloadqolab-f68583ccb68a66dc895848de676680a81fcc4e61.tar.gz
qolab-f68583ccb68a66dc895848de676680a81fcc4e61.zip
time axis starts with capital T and units are lower case 's'
Diffstat (limited to 'qolab/hardware/scope')
-rw-r--r--qolab/hardware/scope/sds1104x.py4
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