model3.ETA¶
-
class
model3.ETA(max_value)¶ Class for estimating the ETA.
-
__init__(max_value)¶ Parameters: max_value – Max iteration
-
get_ETA(current, is_string=True)¶ Get ETA based on current iteration.
Parameters: - current (int) – Current number of iterations.
- is_string (bool) – Whether to return a string or tuple
-
sec2hms(sec)¶ Second to hour:minute:second
Parameters: sec (int) – Number of seconds to be converted. Returns: A tuple containing hour, minute and second value.
-
start()¶ Reset the start time. In case that time-consumable operations are taken between initialization and update.
-