17 Nov
2022
17 Nov
'22
4:49 p.m.
1134 i ran this test and i did not find the balancing to happen; i may have made a mistake. it would be worthwhile checking a passing assert. (Pdb) p (np.concatenate([extended_freq_data[1:14], extended_freq_data[15:]]) @ complex_wavelet(COSINE, np.outer(np.concatenate([extended_freqs[1:14], extended_freqs[15:]]), offset))).round(3) array([-0.585+0.j]) (Pdb) p (freq_data[1:14] @ (complex_wavelet(COSINE, np.outer(extended_freqs[1:14], offset)) + complex_wavelet(COSINE, np.outer(extended_freqs[15:], offset))) ).round(3) array([0.+0.j])
To diagnose real-domain freq2time with step functions, it would make sense to understand how it can work with cosine functions.