app.explore.neurons.plot_spikes_raster

plot_spikes_raster(all_data, session_id, trial_id, cmap='gray_r')[source]

Plots raster visualization of spiking data.

Uses heatmap under the hood.

Parameters
  • all_data (np.ndarray) – A 2-d numpy array that contains data from all sessions.

  • session_id (int) – Integer that denotes a particular session.

  • trial_id (int) – Integer that denotes a trial within a session.

  • cmap – Plot colormap.