(self, refresh_rate=.5)
Instance initializer.

    Args:
      refresh_rate: How often, in seconds, is the integrated value averaged.
Instance initializer.
Instance initializer .
def __init__(self, refresh_rate=.5):
    """Instance initializer.

    Args:
      refresh_rate: How often, in seconds, is the integrated value averaged.
    """
    self._value = 0
    self._value_acc = 0
    self._num_samples = 0
    self._sampling_timestamp = time.time()
    self._refresh_rate = refresh_rate
def __init__ ( self , refresh_rate = .5 ) : self . _value = 0 self . _value_acc = 0 self . _num_samples = 0 self . _sampling_timestamp = time . time ( ) self . _refresh_rate = refresh_rate