From cbd4f3e3a89ed877e96220610c932003b0056718 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 5 Jan 2022 21:00:02 -0500 Subject: remove duplicated code which is present in BasicInstrument --- qolab/hardware/scope/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py index 2b03e42..bdceab3 100644 --- a/qolab/hardware/scope/__init__.py +++ b/qolab/hardware/scope/__init__.py @@ -75,12 +75,6 @@ class Scope(BasicInstrument): config['ChannelsConfig']=chconfig return config - def getHeader(self): - header = yaml.dump(self.getConfig(), default_flow_style=False, sort_keys=False) - header = header.split('\n') - return header - - def save(self, fname=None, item_format='e', availableNpnts=None, maxRequiredPoints=None, decimate=True, extention='dat'): allTraces = self.getAllTraces(availableNpnts=availableNpnts, maxRequiredPoints=maxRequiredPoints, decimate=decimate) if fname is None: -- cgit v1.2.3