netneurotools.datasets.fetch_fsaverage

netneurotools.datasets.fetch_fsaverage(version='fsaverage', use_local=False, force=False, data_dir=None, verbose=1)[source]

Download files for fsaverage FreeSurfer template.

This dataset contains

If you used this data, please cite 1, 2, 3.

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

  • use_local (bool, optional) – If True, will attempt to use local FreeSurfer data. Default: False

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

Other Parameters:
  • force (bool, optional) – If True, will overwrite existing dataset. Default: False

  • 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

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

References

Examples using netneurotools.datasets.fetch_fsaverage

Spatial permutations for significance testing

Spatial permutations for significance testing