Amplitude FFT-tremor-analysis-hz
This visualization displays the frequency spectrum of heart rate data from a tremor analysis dataset, plotting raw magnitude against frequency in Hertz. The code uses a custom FFT class to transform 512 samples of heart rate data, then applies an excludeDCandNyquist function to remove DC and Nyquist components. The resulting frequency-domain representation is rendered as a line chart using D3.js, with axes drawn via the responsive-viz-axes library. The x-axis shows frequencies from 0 to the Nyquist frequency (31.25 Hz), while the y-axis displays the computed magnitude values, revealing the dominant frequency components in the tremor signal.
AI-generated descriptionOverview Time to dabble with the infamous FFT in javascript. Starting with a simple script to generate sine waves for testing.
'Double-sided Magnitude spectrum'
Discrete Fourier Transform - Simple Step by Step https://www.youtube.com/watch?v=mkGsMWi_j4Q
Understanding the Discrete Fourier Transform and the FFT https://www.youtube.com/watch?v=QmgJmh2I3Fw&t=3s