10 Nov
2022
10 Nov
'22
5:09 p.m.
so, the output is not the same as np.fft.fft, but it does retain the data content: (Pdb) data = np.random.random(8) (Pdb) p micro_ift(micro_ft(data, 8), 8) array([0.06095369+0.00000000e+00j, 0.80908567+0.00000000e+00j, 0.63218561-2.77555756e-17j, 0.27129873+0.00000000e+00j, 0.14631817+0.00000000e+00j, 0.30941373+0.00000000e+00j, 0.21181399+0.00000000e+00j, 0.61963621+0.00000000e+00j]) (Pdb) p data array([0.06095369, 0.80908567, 0.63218561, 0.27129873, 0.14631817, 0.30941373, 0.21181399, 0.61963621]) it reconstructed it exactly. what a relief.