tremor analysis Magnitude (dB)
This visualization displays the frequency spectrum of tremor heart-rate data, plotting magnitude in decibels against frequency on logarithmic scales. The heart-rate signal (512 samples) is processed through a custom radix-4 Fast Fourier Transform (FFT) implementation (fftClass.js), producing a double-sided spectrum from which magnitude values are calculated. The resulting frequency-magnitude pairs are rendered as a line chart using D3.js, with the viz.js module handling logarithmic scaling, axes, and the SVG line path. The plot reveals dominant frequency components in the tremor data, with a gray background rectangle framing the chart area.
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'
Only a couple of acknowledgements
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