class documentation

class _RollingAverage:

Constructor: _RollingAverage(numValues)

View In Hierarchy

Simple class to keep a circular buffer of the last N values and calculate a rolling average on them. The buffer starts out as zeros so that will skew the results at the beginning.

Method __init__ Undocumented
Method append Undocumented
Method average Undocumented
Instance Variable _index Undocumented
Instance Variable _numValues Undocumented
Instance Variable _values Undocumented
def __init__(self, numValues=10):

Undocumented

def append(self, value):

Undocumented

def average(self):

Undocumented

_index =

Undocumented

_numValues =

Undocumented

_values =

Undocumented