From b62464d1523085967f6dc178a1bd2d29d78207cc Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 5 Sep 2019 08:24:35 +1000 Subject: [PATCH] Fix spectrum statistics --- daqviewer/daqviewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daqviewer/daqviewer.py b/daqviewer/daqviewer.py index 4916071..e7b77ee 100644 --- a/daqviewer/daqviewer.py +++ b/daqviewer/daqviewer.py @@ -118,8 +118,8 @@ def read_json_data(json_data): # Get spectral statistics xx = wo.mat2timeseries(np.hstack([t, x])) S = xx.tospecdata() - S.freqtype = 'f' values, _, keys = S.characteristic(range(15)) + S.freqtype = 'f' # Update column names if dfs.columns[0] == 0: