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.eeg_readoptions(filename[, ...])

Parse an EEGLAB option script into header text and option records.

eegprep.disp(value)

Print value without a variable name.

eegprep.eeg_helphelp()

How EEGPrep help is organized.

eegprep.eeg_hist(eeg, command)

Append command to eeg["history"] and return the same dataset.

eegprep.gethelpvar(filename[, variables])

Return variable descriptions and names from an M-file help header.

eegprep.getkeyval(command, variable[, mode, ...])

Return an argument from an EEGLAB command-history expression.

eegprep.helpforexe(functions, folder)

Write one help script per function into folder.

eegprep.is_sccn()

Return 1 when this Unix host name contains ucsd.edu, else 0.

eegprep.iseeglabdeployed()

Return 1 when EEGPrep is running as a frozen packaged application.

eegprep.vararg2str(arguments[, inputnames, ...])

Return a comma-separated EEGLAB expression for function arguments.

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_checkchanlocs(chans[, chaninfo])

Normalize channel locations and their shared metadata.

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_context(EEG[, targets, ...])

Return target-event context from the original urevent sequence.

eegprep.eeg_emptyset()

Return an empty EEG dictionary with EEGLAB core fields.

eegprep.eeg_eventhist(events, field[, bins])

Return event-field values, histogram counts, and bin labels or edges.

eegprep.eeg_eventtypes(EEG)

Return event type names and counts, sorted by decreasing count.

eegprep.eeg_getepochevent(EEG, *args, **kwargs)

Return a selected event-field value for each epoch.

eegprep.eeg_getdatact(EEG, *args[, ...])

Return selected channel data, component activity, or a backprojection.

eegprep.eeg_insertbound(events, pnts, regions)

Insert boundaries and adjust event latencies for removed regions.

eegprep.eeg_urlatency(events, latencies)

Map current-data latencies to their original continuous positions.

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.eeg_time2prev(EEG, target, previous)

Return delays from target events to preceding original events.

eegprep.eegh([command, history])

Display or update EEGLAB-style command history.

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

Start the EEGPrep EEGLAB-style main window.

eegprep.eeglab_execmenu(label, function, ...)

Run a menu-bound pop_* workflow with explicit parameters.

eegprep.options(*args, **kwargs)

Wrap EEG_OPTIONS.

eegprep.unique_cell_string(values)

Return unique string elements in first-seen order, ignoring non-strings.