aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-05 21:00:02 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-05 21:00:02 -0500
commitcbd4f3e3a89ed877e96220610c932003b0056718 (patch)
tree415fa2aeb9a6eb0bde0eb84877d403e23cd3e745 /qolab/hardware
parent0e86f76589d161660d2a8026e9a8314eb8ac47e2 (diff)
downloadqolab-cbd4f3e3a89ed877e96220610c932003b0056718.tar.gz
qolab-cbd4f3e3a89ed877e96220610c932003b0056718.zip
remove duplicated code which is present in BasicInstrument
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/scope/__init__.py6
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: