Skip to main content

REGRESSOR_MAX_HALF

Constant REGRESSOR_MAX_HALF 

Source
pub const REGRESSOR_MAX_HALF: usize = 250;
Expand description

The most samples either side a scale state’s running median is taken over: REGRESSOR_HALF_S at 5 kHz, past any logger’s rate the project has seen. A file’s clock could otherwise ask for a window of 50,000 samples, kept sorted, for each of its samples.