aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 01:21:22 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 01:21:22 -0400
commit88d42bae032bd5a064f0d5fdb920a06e2703a78d (patch)
tree936f9bdf860105e74cbb7d7739bb74a32bebf9d5
parentb3810155f1f45718b0c474a6750f71c8f430d125 (diff)
downloadqolab-88d42bae032bd5a064f0d5fdb920a06e2703a78d.tar.gz
qolab-88d42bae032bd5a064f0d5fdb920a06e2703a78d.zip
impoved doc string
-rw-r--r--qolab/hardware/scpi.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/qolab/hardware/scpi.py b/qolab/hardware/scpi.py
index 91e7cc1..4ba9d49 100644
--- a/qolab/hardware/scpi.py
+++ b/qolab/hardware/scpi.py
@@ -16,8 +16,10 @@ logger.setLevel(logging.INFO)
def response2numStr(strIn, firstSeparator=None, unit=None):
"""Parses non standard SCPI reply.
- Often an instrument reply is in the form 'TDIV 2.00E-08S' (for example Siglent Scope)
- i.e. "<prefix><firstSeparator><numberString><unit> where
+
+ Often an instrument reply is in the form 'TDIV 2.00E-08S'
+ (for example Siglent Scope).
+ I.e. "<prefix><firstSeparator><numberString><unit> where
prefix='TDIV', firstSeparator=' ', numberString='2.00E-08', unit='S'
Parameters