MNE-BIDS
mne_bids.get_datatypes
Get list of data types (“modalities”) present in a BIDS dataset.
str
pathlib.Path
Path to the root of the BIDS directory.
list
List of the data types present in the BIDS dataset pointed to by root.