Skip to main content

sensor_moving_average

Function sensor_moving_average 

Source
pub fn sensor_moving_average(
    series: &SensorTimeSeries,
    window: usize,
) -> SensorTimeSeries
Expand description

Compute a causal moving average of sensor values with the given window size.

The first window-1 values use a partial window.