diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 14:49:52 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 14:49:52 -0400 |
commit | 4b1c1a62342246350d0c92ef9ed42e38d395c6c1 (patch) | |
tree | a3f1a28b5f1b6b7ce87ab5e995f12f6a3376b4fc /qolab | |
parent | 052d33d565f5d30148193ae5c40b515423c9a120 (diff) | |
download | qolab-4b1c1a62342246350d0c92ef9ed42e38d395c6c1.tar.gz qolab-4b1c1a62342246350d0c92ef9ed42e38d395c6c1.zip |
remove unnesesary comments
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/data/trace.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py index 87e0b4e..bd2bdb8 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -57,10 +57,8 @@ def loadTraceRawHeaderAndData(fname, tryCompressedIfMissing=True): break header=yaml.load(str.join('\n', headerstr), Loader=yaml.BaseLoader) # now we load the data itself - # data=np.genfromtxt(fname, comments='%', delimiter='\t') - # Note: pandas reads csv faster by factor of 8 then numpy.genfromtxt - # data=pandas.read_csv('/home/evmik/hopping_trace_20220706_02141.dat', comment='%', delimiter='\t', header=None) tracefile.seek(0) # rewind file to the beginning + # Note: pandas reads csv faster by factor of 8 then numpy.genfromtxt df = pandas.read_csv(tracefile, comment='%', delimiter='\t', header=None) data = df.to_numpy() return(header, data) |