fluiddyn.util.timer๏
Clocking timer (fluiddyn.util.timer)๏
Provides:
- class fluiddyn.util.timer.Timer(time_between_ticks)[source]๏
Bases:
objectTimer ticking with a particular period.
- Parameters:
- time_between_ticksfloat
Period between the ticks (in s).
- class fluiddyn.util.timer.TimerIrregular(times_ticks)[source]๏
Bases:
TimerTimer ticking for a numpy array of time.
- Parameters:
- times_ticks: (sorted) sequence
A sequence of times (in second), which can be irregular.
Functions
|
Converts a timestamp to a time.struct_time object. |
|
Compares two timestamps strings. |
|
Converts a timestamp to total seconds. |
Classes
|
String types with special comparison operators to compare equivalent time.struct. |
|
Timer ticking with a particular period. |
|
Timer ticking for a numpy array of time. |