Core and Session#

Dataset containers, validation, and the shared session that the GUI and eegprep-console both use.

eegprep.EEGPrepSession([EEG, ALLEEG, ...])

EEGLAB-like GUI state without module globals.

eegprep.EEG_OPTIONS

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).

eegprep.EEGobj(EEG_or_path)

Wrapper class for EEG datasets stored as dictionaries.

eegprep.checkset(*args, **kwargs)

Wrap eeg_checkset.

eegprep.compare(*args, **kwargs)

Wrap eeg_compare.

eegprep.eeg_checkset(EEG, *checks[, load_data])

Validate and set up EEG dataset structure.

eegprep.eeg_checkset_strict_mode(enabled)

Context manager to control strict mode for eeg_checkset.

eegprep.eeg_compare(eeg1, eeg2[, ...])

Compare two EEG-like structures (or arrays) and return a difference summary.

eegprep.eeg_emptyset()

Return an empty EEG dictionary with EEGLAB core fields.

eegprep.eeg_retrieve(ALLEEG, index)

Return dataset(s) from ALLEEG using EEGLAB-facing 1-based indices.

eegprep.eeg_store(ALLEEG, EEG[, storeSetIndex])

Store EEG in ALLEEG using EEGLAB-facing 1-based indices.

eegprep.eegh([command, history])

Display or update EEGLAB-style command history.

eegprep.eeglab([onearg, session, show, ...])

Start the EEGPrep EEGLAB-style main window.

eegprep.options(*args, **kwargs)

Wrap EEG_OPTIONS.