pysad.statistics.MaxMeter¶
- class pysad.statistics.MaxMeter[source]¶
The statistic that keeps track of the maximum value.
- Attrs:
max (float): The maximum value. lst (list[float]): The list of values that are used to update the statistic. It is necessary for windowing operations.
Methods
__init__
()get
()Method to obtain the tracked statistic.
remove
(num)Updates the statistic by removing particular value.
update
(num)Updates the statistic with the value for a timestep.