mne.datasets.fetch_fsaverage¶
-
mne.datasets.fetch_fsaverage(subjects_dir=None, verbose=None)[source]¶ Fetch and update fsaverage.
- Parameters
- subjects_dir
str|None The path to use as the subjects directory in the MNE-Python config file. None will use the existing config variable (i.e., will not change anything), and if it does not exist, will use
~/mne_data/MNE-fsaverage-data.- verbosebool,
str,int, orNone If not None, override default verbose level (see
mne.verbose()and Logging documentation for more). If used, it should be passed as a keyword-argument only.
- subjects_dir
- Returns
- fs_dir
str The fsaverage directory. (essentially
subjects_dir + '/fsaverage').
- fs_dir
Notes
This function is designed to provide
All modern (Freesurfer 6) fsaverage subject files
All MNE fsaverage parcellations
fsaverage head surface, fiducials, head<->MRI trans, 1- and 3-layer BEMs (and surfaces)
This function will compare the contents of
subjects_dir/fsaverageto the ones provided in the remote zip file. If any are missing, the zip file is downloaded and files are updated. No files will be overwritten.New in version 0.18.