-
Notifications
You must be signed in to change notification settings - Fork 15
Description
When running multiples algorithms sequentially (like for instance reconstructing 800 volumes of an fMRI scan), the output gets cluttered by progressbars .
tqdm is the goto package nowadays for progress bar displays and management. It is faster, lighter, allows for nested progress bar and has great notebook support.
What I propose is to add a progressbar argument to the SetUp class in algorithms/base.py, so that the user can provide a customized tqdm object if needed (for nested progressbar for instance, use of color, notebooks runs, common progress bar for multiples runs of the algorithm etc)
The change will be mostly in place as progressbar and tqdm exposes almost similar APIs.
Also, we could display some extra information (like cost evaluation) alongside with the iteration progress
Are you planning to submit a Pull Request?
- Yes