aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 15:25:13 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 15:25:13 -0500
commitc68b1f1d14c9639bbdb778ba80ec1803e488af4d (patch)
tree835f0dd047c82e72f1bdf634c613e828456b800d
parent197cafcfe11e684a5446058fa84dacf2d6ad7ac2 (diff)
downloadqolab-c68b1f1d14c9639bbdb778ba80ec1803e488af4d.tar.gz
qolab-c68b1f1d14c9639bbdb778ba80ec1803e488af4d.zip
added plot method to scope
-rw-r--r--qolab/hardware/scope/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py
index f5e7ba2..bcbc87c 100644
--- a/qolab/hardware/scope/__init__.py
+++ b/qolab/hardware/scope/__init__.py
@@ -37,6 +37,10 @@ class Scope:
allTraces.addTrace( self.getTrace(chNum, availableNpnts, maxRequiredPoints) )
return( allTraces )
+ def plot(self, **kwargs):
+ allTraces=self.getAllTraces(**kwargs)
+ allTraces.plot()
+
def getConfig(self):
config = self.config.copy()
dconfig = {}