eegprep.pop_topoplot#

eegprep.pop_topoplot(EEG=None, typeplot=1, items=None, topotitle=None, rowcols=None, plotdip=0, *args, gui=None, renderer=None, return_com=False, **kwargs)#

Plot EEGLAB-style 2-D scalp maps for ERP latencies or ICA components.

Parameters:
  • EEG (dict[str, Any] | None) – EEGLAB-style EEG dictionary.

  • typeplot (int) – 1 for channel ERP latency maps, 0 for component maps.

  • items (Any) – Latencies in ms when typeplot=1 or 1-based component indices when typeplot=0. Negative component indices invert map polarity and NaN leaves a blank subplot.

  • topotitle (str | None) – Figure title.

  • rowcols (Any) – Optional [rows, columns] layout. Empty uses EEGLAB’s near-square page geometry.

  • plotdip (Any) – Accepted for EEGLAB signature compatibility; DIPFIT overlays are deferred to the Phase 4 headplot/DIPFIT integration.

  • gui (bool | None) – Force or suppress the EEGLAB-like input dialog.

  • renderer (Any | None) – Optional dialog renderer for tests.

  • return_com (bool) – Return (figures, command) when true.

  • **kwargs (Any) – Additional topoplot options such as electrodes, colorbar and maplimits.

  • args (Any)