tonic.functional.identify_hot_pixel_raster#
- tonic.functional.identify_hot_pixel_raster(events: ndarray, hot_pixel_frequency: float)[source]#
Identifies pixels that fire above a certain predefined spike amount, supports both.
- Parameters:
events (ndarray) – ndarray of shape [P, H, W] or [T, P, H, W]
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.