tonic.functional.uniform_noise
#
Module Contents#
Functions#
|
Adds a fixed number of noise events that are uniformly distributed across sensor size |
- tonic.functional.uniform_noise.uniform_noise_numpy(events: numpy.ndarray, sensor_size: Tuple[int, int, int], n: int)[source]#
Adds a fixed number of noise events that are uniformly distributed across sensor size dimensions.
- Parameters:
events (numpy.ndarray) – ndarray of shape (n_events, n_event_channels)
sensor_size (Tuple[int, int, int]) – 3-tuple of integers for x, y, p
n (int) – the number of noise events added.