mne.io.read_raw#

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

Read raw file.

This function is a convenient wrapper for readers defined in mne.io. The correct reader is automatically selected based on the detected file format. All function arguments are passed to the respective reader.

The following readers are currently supported:

Parameters:
fnamepath-like

Name of the file to read.

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 | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

**kwargs

Additional keyword arguments to pass to the underlying reader. For details, see the arguments of the reader for the respective file format.

Returns:
rawmne.io.Raw

Raw object.

Examples using mne.io.read_raw#

Getting started with mne.Report

Getting started with mne.Report

Auto-generating Epochs metadata

Auto-generating Epochs metadata

Working with sEEG data

Working with sEEG data

DICS for power mapping

DICS for power mapping

Using contralateral referencing for EEG

Using contralateral referencing for EEG

Identify EEG Electrodes Bridged by too much Gel

Identify EEG Electrodes Bridged by too much Gel

Automated epochs metadata generation with variable time windows

Automated epochs metadata generation with variable time windows