diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-07 14:02:01 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-07 14:02:01 -0500 |
commit | 0b2cef57d84956f8934f9409db6fdd2a3ec58da1 (patch) | |
tree | a5ebed58102cb01b133c2e8d2d0f3d79151d0081 /qolab/hardware/scope | |
parent | ccbb6a5ad8c2577de718ed27e74e2eedc98708df (diff) | |
download | qolab-0b2cef57d84956f8934f9409db6fdd2a3ec58da1.tar.gz qolab-0b2cef57d84956f8934f9409db6fdd2a3ec58da1.zip |
avoid double use of item_format
Diffstat (limited to 'qolab/hardware/scope')
-rw-r--r-- | qolab/hardware/scope/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py index bdceab3..53d862b 100644 --- a/qolab/hardware/scope/__init__.py +++ b/qolab/hardware/scope/__init__.py @@ -77,6 +77,7 @@ class Scope(BasicInstrument): 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) + allTraces.config['item_format']=item_format if fname is None: fname = self.getNextDataFile(extention=extention) allTraces.save(fname, item_format=item_format) |