hnn_core.viz.plot_laminar_csd¶
- hnn_core.viz.plot_laminar_csd(times, data, contact_labels, ax=None, colorbar=True, show=True)[source]¶
Plot laminar current source density (CSD) estimation from LFP array.
- Parameters
- timesNumpy array, shape (n_times,)
Sampling times (in ms).
- dataarray-like, shape (n_channels, n_times)
CSD data, channels x time.
- axinstance of matplotlib figure | None
The matplotlib axis.
- colorbarbool
If the colorbar is presented.
- contact_labelslist
Labels associated with the contacts to plot. Passed as-is to
set_yticklabels()
.- showbool
If True, show the plot.
- Returns
- figinstance of matplotlib Figure
The matplotlib figure handle.