skrf.util.ProgressBar
- class skrf.util.ProgressBar(iterations, label='iterations')[source]
A progress bar based off of the notebook/ipython progress bar from PyMC.
Useful when waiting for long operations such as taking a large number of VNA measurements that may take a few minutes.
Examples
>>> from time import sleep >>> pb = rf.ProgressBar(10) >>> for idx in range(10): >>> sleep(1) >>> pb.animate(idx)
Methods
Progress bar constructor. |
|
Animate the progress bar. |
|