tonic.functional.drop_pixel_raster#

tonic.functional.drop_pixel_raster(raster: ndarray, coordinates)[source]#

Drops events for pixel locations.

Parameters:
  • raster (ndarray) – ndarray of shape [p, h, w] or [t, p, h, w]

  • coordinates – list of (x,y) coordinates for which all events will be deleted.

Returns:

The filtered raster or frame