windowed_ac_rms

Function windowed_ac_rms 

Source
pub fn windowed_ac_rms<T, const N: usize>(
    buffer: &RingBuffer<T, N>,
    mean: T,
    window_len: usize,
) -> f32
where T: PrimInt,
Expand description

Calculate the AC RMS of the last window_len values inside buffer.

See ac_rms for details.