tonic.functional.identify_hot_pixel#

tonic.functional.identify_hot_pixel(events: ndarray, hot_pixel_frequency: float)[source]#

Identifies pixels that fire above above a certain frequency, averaged across whole event recording. Such _hot_ pixels are sometimes caused by faulty hardware.

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

  • hot_pixel_frequency (float) – number of spikes per pixel allowed for the recording, any pixel firing above that number will be deactivated.

Returns:

list of (x/y) coordinates for excessively firing pixels.