mne_bids.get_datatypes

mne_bids.get_datatypes(root, verbose=None)[source]

Get list of data types (“modalities”) present in a BIDS dataset.

Parameters
rootpath-like

Path to the root of the BIDS directory.

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.

Returns
modalitieslist of str

List of the data types present in the BIDS dataset pointed to by root.