Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
StatisticConfig.StatisticProgressMonitor Class Reference

Public Member Functions

 __init__ (self)
 
None reset (self, str phase="preparing", str message="Preparing statistic workflow")
 
None set_progress (self, str phase, str message, float fraction, *int completed=0, int total=0, float eta_seconds=-1.0, bool finished=False)
 
StatisticProgressSnapshot snapshot (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Thread-safe bridge exposing C++ progress to Python frontends.

Definition at line 38 of file StatisticConfig.py.

Constructor & Destructor Documentation

◆ __init__()

StatisticConfig.StatisticProgressMonitor.__init__ (   self)

Definition at line 41 of file StatisticConfig.py.

Member Function Documentation

◆ reset()

None StatisticConfig.StatisticProgressMonitor.reset (   self,
str   phase = "preparing",
str   message = "Preparing statistic workflow" 
)
Reset progress reporting and set the initial phase and message.

Definition at line 44 of file StatisticConfig.py.

◆ set_progress()

None StatisticConfig.StatisticProgressMonitor.set_progress (   self,
str  phase,
str  message,
float  fraction,
*int   completed = 0,
int   total = 0,
float   eta_seconds = -1.0,
bool   finished = False 
)
Publish a progress update to Python and graphical frontends.

Definition at line 50 of file StatisticConfig.py.

◆ snapshot()

StatisticProgressSnapshot StatisticConfig.StatisticProgressMonitor.snapshot (   self)
Return an immutable snapshot of the latest progress event.

Definition at line 72 of file StatisticConfig.py.

Member Data Documentation

◆ _cpp_obj

StatisticConfig.StatisticProgressMonitor._cpp_obj
protected

Definition at line 42 of file StatisticConfig.py.


The documentation for this class was generated from the following file: