eegprep.topoplot#

eegprep.topoplot(datavector, chan_locs, **kwargs)#

Plot a 2D topographic map of EEG data.

Parameters#

datavectorarray-like

Values to plot at each channel location.

chan_locslist of dict

Channel location structures with ‘labels’, ‘theta’, and ‘radius’ fields.

**kwargsdict

Additional keyword arguments for customization:

  • noplot : str or tuple, default ‘off’

  • plotgrid : str, default ‘off’

  • plotchans : list, default []

  • ELECTRODES : str, default ‘on’

  • intrad : float, default nan

  • plotrad : float, default nan

  • headrad : float, default 0.5

  • method : str, default ‘rbf’

Returns#

handlematplotlib.figure.Figure or None

Figure handle if plotted, None otherwise.