dedalus.tools.progress

Tools for tracking iteration progress.

Module Contents

log_progress(iterable, logger, level, **kw)

Log iteration progress.

print_progress(iterable, stream=sys.stdout, **kw)

Print iteration progress to a stream.

track(iterable, write, desc='Iteration', iter=1, frac=1.0, dt=np.inf)

Track an iterator attaching messages at set cadences.

format_time(total_sec)

Format time strings.