eegprep.eeglab#

eegprep.eeglab(onearg=None, *, session=None, show=True, block=False, all_menus=None, include_plugins=True, native_menu_bar=None, native_file_dialogs=True)#

Start the EEGPrep EEGLAB-style main window.

Parameters:
  • onearg (str | None) – EEGLAB-like command. "nogui" returns a session only, "full" enables legacy/advanced menu items, and "versions" returns the package version string.

  • session (EEGPrepSession | None) – Optional existing GUI session.

  • show (bool) – Show the Qt window before returning.

  • block (bool) – Enter the Qt event loop.

  • all_menus (bool | None) – Override EEG_OPTIONS["option_allmenus"].

  • include_plugins (bool) – Include plugin-contributed menus.

  • native_menu_bar (bool | None) – Use the native macOS menu bar when True. None keeps EEGPrep’s platform default; set False to keep menus in the window on macOS.

  • native_file_dialogs (bool) – Use platform-native file pickers when True.

Returns:

EEGPrepMainWindow by default, or EEGPrepSession for onearg="nogui".

Return type:

Any