netneurotools.datasets.fetch_fsaverage

netneurotools.datasets.fetch_fsaverage(version='fsaverage', data_dir=None, url=None, resume=True, verbose=1)[source]

Download files for fsaverage FreeSurfer template.

Parameters:
  • version (str, optional) – One of {‘fsaverage’, ‘fsaverage3’, ‘fsaverage4’, ‘fsaverage5’, ‘fsaverage6’}. Default: ‘fsaverage’

  • data_dir (str, optional) – Path to use as data directory. If not specified, will check for environmental variable ‘NNT_DATA’; if that is not set, will use ~/nnt-data instead. Default: None

  • url (str, optional) – URL from which to download data. Default: None

  • resume (bool, optional) – Whether to attempt to resume partial download, if possible. Default: True

  • verbose (int, optional) – Modifies verbosity of download, where higher numbers mean more updates. Default: 1

Returns:

filenames – Dictionary-like object with keys [‘surf’] where corresponding values are length-2 lists downloaded template files (each list composed of files for the left and right hemisphere).

Return type:

sklearn.utils.Bunch