Function ringbuffer_iteration::windowed_ac_rms [−][src]
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.