app.explore.neurons.plot_firing_rate¶
- plot_firing_rate(all_data, session_id, trial_id=None, smooth=True, by_brain_regions=False)[source]¶
Plots the neuron firing rate.
- 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.
smooth (bool) – Smoothens firing rate if True.
by_brain_regions (bool) – Produces subplots for each brain-region if True.