mne.datasets.has_dataset#

mne.datasets.has_dataset(name)[source]#

Check for presence of a dataset.

Parameters
namestr | dict

The dataset to check. Strings refer to one of the supported datasets listed here. A dict can be used to check for user-defined datasets (see the Notes section of fetch_dataset()), and must contain keys dataset_name, archive_name, url, folder_name, hash.

Returns
hasbool

True if the dataset is present.