Skip to main content

SPIKE_THRESHOLD

Constant SPIKE_THRESHOLD 

Source
pub const SPIKE_THRESHOLD: f64 = 5.0;
Expand description

The Hampel filter’s threshold, in robust standard deviations of its window (R. K. Pearson et al., The Class of Generalized Hampel Filters, EUSIPCO 2015, §2, t): five, as ACCEL_NOISE_SIGMAS holds the noise, so it takes out what noise alone reaches about once in 1.7 million samples. HPR Sim’s choice.