mne.io.read_raw_brainvision

mne.io.read_raw_brainvision(vhdr_fname, montage='deprecated', eog=('HEOGL', 'HEOGR', 'VEOGb'), misc='auto', scale=1.0, preload=False, verbose=None)[source]

Reader for Brain Vision EEG file.

Parameters
vhdr_fnamestr

Path to the EEG header file.

montagestr | None

Path or instance of montage containing electrode positions. If None, sensor locations are (0,0,0).

DEPRECATED in version 0.19 Use the set_montage method.

eoglist or tuple of str

Names of channels or list of indices that should be designated EOG channels. Values should correspond to the vhdr file Default is ('HEOGL', 'HEOGR', 'VEOGb').

misclist or tuple of str | ‘auto’

Names of channels or list of indices that should be designated MISC channels. Values should correspond to the electrodes in the vhdr file. If ‘auto’, units in vhdr file are used for inferring misc channels. Default is 'auto'.

scalefloat

The scaling factor for EEG data. Unless specified otherwise by header file, units are in microvolts. Default scale factor is 1.

preloadbool or str (default False)

Preload data into memory for data manipulation and faster indexing. If True, the data will be preloaded into memory (fast, requires large amount of memory). If preload is a string, preload is the file name of a memory-mapped file which is used to store the data on the hard drive (slower, requires less memory).

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns
rawinstance of RawBrainVision

A Raw object containing BrainVision data.

See also

mne.io.Raw

Documentation of attribute and methods.

Examples using mne.io.read_raw_brainvision