Fix spectrum statistics

master
Dan Howe 5 years ago
parent 4ad8703f4a
commit b62464d152

@ -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:

Loading…
Cancel
Save