- mne_bids.read_raw_bids(bids_path, extra_params=None, verbose=None)#
Read BIDS compatible data.
Will attempt to read associated events.tsv and channels.tsv files to populate the returned raw object with raw.annotations and raw.info[‘bads’].
The file to read. The
mne_bids.BIDSPathinstance passed here must have the
.rootattribute set. The
.datatypeattribute may be set. If
.datatypeis not set and only one data type (e.g., only EEG or MEG data) is present in the dataset, it will be selected automatically.
bids_pathpoints to a symbolic link of a
.fiffile without a
splitentity, the link will be resolved before reading.
Extra parameters to be passed to MNE read_raw_* functions. Note that the
excludeparameter, which is supported by some MNE-Python readers, is not supported; instead, you need to subset your channels after reading.
The data as MNE-Python Raw object.
If multiple recording data types are present in the dataset, but
If more than one data files exist for the specified recording.
If no data file in a supported format can be located.
If the specified
datatypecannot be found in the dataset.