ToTimesurface#
- class tonic.transforms.ToTimesurface(sensor_size: Tuple[int, int, int], dt: float, tau: float)[source]#
Create global time surfaces at a specific time interval dt.
- Parameters:
sensor_size (Tuple[int, int, int]) – A 3-tuple of x,y,p for sensor_size
dt (float) – The interval at which the time-surfaces are accumulated.
tau (float) – Time constant to decay events with.