tonic.functional.refractory_period
#
Module Contents#
Functions#
|
Sets a refractory period for each pixel, during which events will be ignored/discarded. We |
- tonic.functional.refractory_period.refractory_period_numpy(events: numpy.ndarray, refractory_period: float)[source]#
Sets a refractory period for each pixel, during which events will be ignored/discarded. We keep events if:
\[t_n - t_{n-1} > t_{refrac}\]- Parameters:
events (numpy.ndarray) – ndarray of shape [num_events, num_event_channels]
refractory_period (float) – refractory period for each pixel in microseconds
- Returns:
filtered set of events.