Raw and filtered acceleration (dots = detected steps)
Moving-average gain vs frequency

Pedometer Step Detection: Filtered Acceleration Trace, Threshold and Cadence (2D)

A wrist accelerometer signal passes through a moving-average low-pass filter and a threshold peak detector with a refractory time. Change cadence, step strength, noise, filter window and threshold to see steps counted, missed or invented, with the filter gain curve and cadence estimates by autocorrelation and DFT. A Blender-built wrist and watch with a live 3D trace and numerical checks including Parseval.

Made with 🟠 Blender