Timer
#
- class pybads.utils.timer.Timer(eps_t=1e-09)[source]#
A small Timer class used to time the different parts of PyBADS.
- get_duration(name: str)[source]#
Return the duration of the specified timer.
- Parameters:
- namestr
The name of the timer which time should be returned.
- Returns:
- durationfloat
The duration of the timer or None when the timer is not existing.