allensdk.brain_observatory.ecephys.visualization package¶
Module contents¶
- allensdk.brain_observatory.ecephys.visualization.plot_mean_waveforms(mean_waveforms, unit_ids, peak_channels)[source]¶
Utility for plotting mean waveforms on each unit’s peak channel
- Parameters:
- mean_waveformsdictionary
Maps unit ids to channelwise averege spike waveforms for those units
- unit_idsarray-like
unique integer identifiers for units to be included
- allensdk.brain_observatory.ecephys.visualization.plot_spike_counts(data_array, time_coords, cbar_label, title, xlabel='time relative to stimulus onset (s)', ylabel='unit', xtick_step=20)[source]¶
Utility for making a simple spike counts plot.
- Parameters:
- data_arrayxarray.DataArray
2D data array unitwise values per time bin. See EcephysSession.sweepwise_spike_counts