ktk.TimeSeries.sync_event#
- TimeSeries.sync_event(name, occurrence=0, *, in_place=False)[source]#
Shift time and events so that this event is at the new time zero.
Warning
The function sync_event is deprecated since 0.10.0 and is scheduled to be removed in 2024. Please use ts.shift() instead.
- Parameters
name (str) –
occurrence (int) –
in_place (bool) –
- Return type