Miscellaneous

List of available functions/classes

Documentation

class utilities.misc.ProgressBar(*args, **kwargs)[source]

Code author: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>

Implements an easy to use progressbar for Jupyter notebooks.

Note

A description can be provided with the keyword ‘description’. Three custom descriptors can be used to have a dynamical description:

  • {index} which prints the current index in the loop

  • {len} which prints the total length of the loop

  • {fraction} which prints the current fraction of the loop

For instance, description={index}/{len} ({fraction}) will print something like 11/1000 (1.1%).

Parameters
  • args – arguments passed to ipywidgets.IntProgress

  • kwargs – keyword arguments passed to ipywidgets.IntProgress