From 49bed5cfa22f678a24d84c365269661ffd8ddcf4 Mon Sep 17 00:00:00 2001 From: Jong Youl Choi Date: Thu, 3 Dec 2020 14:08:54 -0800 Subject: [PATCH] minor update with Michael's comment #31 --- receiver_brute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver_brute.py b/receiver_brute.py index 076e839..31ffdaa 100644 --- a/receiver_brute.py +++ b/receiver_brute.py @@ -239,7 +239,7 @@ def perform_analysis(channel_data, cfg, tstep, trange): sptime = trange[0] + np.arange(nperseg/2,channel_data.shape[-1] - nperseg/2 + 1,nperseg - noverlap)/A.Dlist[0].fs results['stft_time'] = sptime - results['stft_freq'] = A.Dlist[0].ax + results['stft_freq'] = A.Dlist[0].ax*A.Dlist[0].fs/2 Nchannels = channel_data.shape[0] if args.dry: