From f68583ccb68a66dc895848de676680a81fcc4e61 Mon Sep 17 00:00:00 2001 From: Michael Vorobiov Date: Tue, 5 Nov 2024 16:46:10 -0500 Subject: time axis starts with capital T and units are lower case 's' --- qolab/hardware/scope/sds1104x.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qolab/hardware') 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 -- cgit v1.2.3