bemobil_mne.preproc.StepTimer#
- class bemobil_mne.preproc.StepTimer(logger=None)[source]#
Bases:
objectRecord and log wall-clock durations of named pipeline steps.
- Parameters:
- logger
logging.Logger|None Logger used to emit per-step messages. Defaults to the module logger.
- logger
- Attributes:
Methods
__init__([logger])Return a multi-line, human-readable summary of all step timings.
log_step(name, duration_s)Record and log a single step duration.
Attributes
float: Total recorded duration across all steps.
- property total_s#
float: Total recorded duration across all steps.