Package libavg :: Module mathutil :: Class MovingAverage

Class MovingAverage

source code

Moving average implementation. Example: ma = MovingAverage(20) print ma(2) print ma(3) print ma(10)

Instance Methods
 
__init__(self, points) source code
 
__call__(self, value) source code