tonic.functional.drop_event_numpy#

tonic.functional.drop_event_numpy(events: ndarray, drop_probability: float)[source]#

Randomly drops events with drop_probability.

Parameters:
  • events (ndarray) – ndarray of shape [num_events, num_event_channels].

  • drop_probability (float) – probability of dropping out event.

Returns:

augmented events that were not dropped.