CallbackProgressBar

class odl.solvers.util.callback.CallbackProgressBar(niter, step=1, **kwargs)[source]

Bases: odl.solvers.util.callback.Callback

Callback for displaying a progress bar.

This callback requires the tqdm package.

Methods

reset(self)

Set iter to 0.

__init__(self, niter, step=1, \*\*kwargs)[source]

Initialize a new instance.

Parameters
niterpositive int, optional

Total number of iterations.

steppositive int, optional

Number of iterations between output.

Other Parameters
kwargs :

Further parameters passed to tqdm.tqdm.