aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 00:50:23 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 00:50:23 -0400
commit024dad5d6d362daf5a6c044f3c2153aa04e9517a (patch)
treedcdc35b1c6637d753b858f427a147051d8d9e505 /qolab/hardware
parent27d412abf79de0c23032e6cf2661e2323bf8cd94 (diff)
downloadqolab-024dad5d6d362daf5a6c044f3c2153aa04e9517a.tar.gz
qolab-024dad5d6d362daf5a6c044f3c2153aa04e9517a.zip
better comment
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/scope/sds1104x.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py
index ae51a13..9ed3807 100644
--- a/qolab/hardware/scope/sds1104x.py
+++ b/qolab/hardware/scope/sds1104x.py
@@ -126,7 +126,8 @@ class SDS1104X(ScopeSCPI):
else:
# we just ask every point with 'sparsing' interval
# fast to grab but we could do better with more advance decimate
- # method, which allow better precision for the price of longer acquisition time
+ # method, which allow better precision for the price
+ # of longer acquisition time
cstr = f"WAVEFORM_SETUP SP,{sparsing},NP,{Npnts},FP,0"
# Note: it is not enough to provide sparsing (SP),
# number of points (NP) needed to be calculated properly too!
@@ -141,7 +142,8 @@ class SDS1104X(ScopeSCPI):
# For example:
# NP = 0 sends all data points.
# NP = 50 sends a maximum of 50 data points.
- # FP — First point. It specifies the address of the first data point to be sent.
+ # FP — First point. It specifies the address of the first data point
+ # to be sent.
# For example:
# FP = 0 corresponds to the first data point.
# FP = 1 corresponds to the second data point