mne.io.read_raw

mne.io.read_raw(fname, *, preload=False, verbose=None, **kwargs)[source]

Read raw file.

Parameters
fnamestr

File name to load.

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). If used, it should be passed as a keyword-argument only.

**kwargs

Keyword arguments to pass to the underlying reader. For details, see the arguments of the reader for the underlying file format.

Returns
rawmne.io.Raw

Raw object.

Notes

This function is a wrapper for specific read_raw_xxx readers defined in the readers dict. If it does not work with a specific file, try using a dedicated reader function (read_raw_xxx) instead.

Examples using mne.io.read_raw