single sided magnitude spectrum tremor analysis
This visualization displays the single-sided magnitude spectrum of a tremor analysis signal, plotting frequency in Hertz against magnitude in decibels. The chart uses a logarithmic x-axis scale to show the frequency distribution of heart rate data sampled at 62.5 Hz. The code calculates a Fast Fourier Transform using a custom FFT class and visualizes the resulting magnitudes with D3.js, including axes and a line path. The visualization uses a custom `viz` function that applies log and linear scaling to map data points.
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