class_docstr: Helper class for computing moving average and sliding window
class_docstr_tok: ["Helper","class","for","computing","moving","average","and","sliding","window"]
code: def write(self, proto):
      proto.windowSize = self.windowSize
      proto.slidingWindow = self.slidingWindow
      proto.total = self.total
  
file_path: nupic-legacy/src/nupic/utils.py
imports: import numbers
  from nupic.serializable import Serializable
label_desc: Use image node_id 10 for calling the MovingAverage obj's underlying member method code with example usage: obj.write(proto) without return types