phyphox Forums
Fourier spectra by components - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Feature requests (https://phyphox.org/forums/forumdisplay.php?fid=8)
+--- Thread: Fourier spectra by components (/showthread.php?tid=1710)



Fourier spectra by components - diegoM - 02-25-2023

Any possibility to visualize Fourier Spectra by components ? Not clear what is plotted ( absolute value ? mean of the 3C ? )

Thanks!


RE: Fourier spectra by components - Jens Noriʇzsɔɥ - 02-28-2023

The absolute value of the acceleration vector’s Fourier transform is displayed. Please note that the Fourier transform is a complex number, so “FFT Mag” is the square root of (FFT(ax)×FFT(ax)* + FFT(bx)×FFT(bx)* + FFT(az)×FFT(az)*) with “*” denoting the complex conjugation of the FFT (likewise for the magnetometer).

Our experiments are open source, e.g. https://github.com/phyphox/phyphox-experiments/blob/master/acc_spectrum.phyphox, and could be modified. The file format is specified in https://phyphox.org/wiki/index.php/Phyphox_file_format, so you could also check the algorithms behind each experiment.

In order to just display one component, you could omit the other components in the “power” element in the analysis block, for instance.