stnmf.plot.sta
- stnmf.plot.sta(s, ax=None, **kwargs)
Plot the spike-triggered average (STA)
- Parameters:
s (
(x,y) array_like) – Spatial profile of the spike-triggered averageax (
matplotlib.axes.Axes, optional) – Existing figure axes to draw the STA into. If None, a new figure is created. Default is None
- Keyword Arguments:
cmap (
strormatplotlib.colors.Colormap, optional) – Color map to use. Recommended are ‘filter’ for conventional spatial contrast filter colors (black-gray-white with masked values magenta) and ‘rwb’ for convenient view (red-white-black with masked values lightseagreen). Default is ‘filter’- Raises:
ValueError – If s has incorrect shape.