ktk.TimeSeries.get_ts_at_event#

TimeSeries.get_ts_at_event(name, occurrence=0)[source]#

Get a one-data TimeSeries at the event’s nearest time.

Warning

The function get_ts_at_event is deprecated since 0.10.0 and is scheduled to be removed in 2024. Please use ts.get_ts_after_event() and address the first sample of the resulting TimeSeries.

Parameters
  • name (str) –

  • occurrence (int) –

Return type

TimeSeries