mne.datasets.has_dataset#
- mne.datasets.has_dataset(name)[source]#
Check for presence of a dataset.
- Parameters:
- name
str
|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 offetch_dataset()
), and must contain keysdataset_name
,archive_name
,url
,folder_name
,hash
.
- name
- Returns:
- hasbool
True if the dataset is present.