MCPcopy Create free account
hub / github.com/RozDavid/UnScene3D / __init__

Method __init__

utils/utils.py:406–408  ·  view source on GitHub ↗
(self, alpha=0.5)

Source from the content-addressed store, hash-verified

404 """ Exponential Moving Average Timer """
405
406 def __init__(self, alpha=0.5):
407 super(ExpTimer, self).__init__()
408 self.alpha = alpha
409
410 def toc(self):
411 self.diff = time.time() - self.start_time

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected