ProgressBase

This a python binding to the C++ class Mantid::Kernel::ProgressBase.

class mantid.kernel.ProgressBase
__init__()

Raises an exception This class cannot be instantiated from Python

getEstimatedTime((ProgressBase)self) → float :

Returns an estimate of the time remaining. May not be to accurate if the reporting is lumpy.

report((ProgressBase)self) → None :
Increment the progress by 1 and report with no message
report( (ProgressBase)self, (str)msg) -> None :
Increment the progress by 1 and report along with the given message
report( (ProgressBase)self, (int)i, (str)msg) -> None :
Set the progress to given amount and report along with the given message
reportIncrement((ProgressBase)self, (int)i, (str)msg) → None :

Increment the progress by given amount and report along with the given message

resetNumSteps((ProgressBase)self, (int)nsteps, (float)start, (float)end) → None :

Resets the number of steps & progress range to the given values

setNotifyStep((ProgressBase)self, (float)notifyStep) → None :

Set how often the notifications are actually reported

setNumSteps((ProgressBase)self, (int)nsteps) → None :

Sets a new number of steps for the current progress range