threshold-based spike detection, drawing list of spikes on a grid