tremor analysis with FFT & DFT classes
This example shows the magnitude spectrum of a heart-rate tremor signal, plotting frequency bins on the x-axis against raw FFT magnitude on the y-axis. The visualization uses a line chart over a gray inner rectangle with labeled axes, generated from 512 samples taken at 62.5 samples per second. The code implements the Fast Fourier Transform via the `@drbagwell/dft-fft-fourier-analysis` library, then renders the result using D3 scales and line generators. Axes and labels are handled by the `@drbagwell/responsive-viz-axes` module.
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