From c68b1f1d14c9639bbdb778ba80ec1803e488af4d Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 9 Dec 2021 15:25:13 -0500 Subject: added plot method to scope --- qolab/hardware/scope/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qolab/hardware/scope') 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 = {} -- cgit v1.2.3