mne.datasets.erp_core.fetch_file#

mne.datasets.erp_core.fetch_file(fname, path=None)[source]#

Fetch a raw ERP CORE file used by MNE-Python examples.

Parameters:
fnamestr

Relative path of the file within the ERP CORE dataset.

pathpath-like | None

Parent directory for the ERP-CORE-N170 folder. If None, the MNE_DATASETS_ERP_CORE_PATH configuration value is used.

Returns:
pathinstance of pathlib.Path

Local path to the requested file.