Get the average value of current window.
(self)
| 731 | self._data = self._data[-self.window:] |
| 732 | |
| 733 | def average(self): |
| 734 | """Get the average value of current window.""" |
| 735 | return np.mean(self._data) |
| 736 | |
| 737 | |
| 738 | class StopWatch: |
no outgoing calls
no test coverage detected