|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inlinenoexcept |
Simple moving average over the newest window samples.
| T | Sample type |
| history | Buffer with capacity >= window |
| window | Number of samples to average, minimum 1 |
Not a derivative. Included alongside the differential family because a common pattern is smoothing the raw signal before differentiating it rather than smoothing the derivative after the fact; the two produce different noise characteristics and callers should be able to reach for either without leaving this file.
Definition at line 238 of file Differential.hpp.
Referenced by centroid(), and moving_average().
Here is the caller graph for this function: