diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-05 21:00:02 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-05 21:00:02 -0500 |
commit | cbd4f3e3a89ed877e96220610c932003b0056718 (patch) | |
tree | 415fa2aeb9a6eb0bde0eb84877d403e23cd3e745 /qolab/hardware/scope/__init__.py | |
parent | 0e86f76589d161660d2a8026e9a8314eb8ac47e2 (diff) | |
download | qolab-cbd4f3e3a89ed877e96220610c932003b0056718.tar.gz qolab-cbd4f3e3a89ed877e96220610c932003b0056718.zip |
remove duplicated code which is present in BasicInstrument
Diffstat (limited to 'qolab/hardware/scope/__init__.py')
-rw-r--r-- | qolab/hardware/scope/__init__.py | 6 |
1 files changed, 0 insertions, 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: |