Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

nilearn.datasets.fetch_atlas_yeo_2011#

nilearn.datasets.fetch_atlas_yeo_2011(data_dir=None, url=None, resume=True, verbose=1)[source]#

Download and return file names for the Yeo 2011 parcellation.

This function retrieves the so-called yeo deterministic atlases. The provided images are in MNI152 space and have shapes equal to (256, 256, 256, 1). They contain consecutive integers values from 0 (background) to either 7 or 17 depending on the atlas version considered.

For more information on this dataset’s structure, see Cortical Parcellation Estimated by Intrinsic Functional Connectivity[1], and Thomas Yeo et al.[2].

Parameters:
data_dirpathlib.Path or str, optional

Path where data should be downloaded. By default, files are downloaded in a nilearn_data folder in the home directory of the user. See also nilearn.datasets.utils.get_data_dirs.

urlstr, default=None

URL of file to download. Override download URL. Used for test only (or if you setup a mirror of the data).

resumebool, default=True

Whether to resume download of a partly-downloaded file.

verboseint, default=1

Verbosity level (0 means no message).

Returns:
datasklearn.utils.Bunch

Dictionary-like object, keys are:

  • ‘thin_7’: str, path to nifti file containing the 7 regions parcellation fitted to thin template cortex segmentations. The image contains integer values which can be interpreted as the indices in colors_7.

  • ‘thick_7’: str, path to nifti file containing the 7 region parcellation fitted to thick template cortex segmentations. The image contains integer values which can be interpreted as the indices in colors_7.

  • ‘thin_17’: str, path to nifti file containing the 17 region parcellation fitted to thin template cortex segmentations. The image contains integer values which can be interpreted as the indices in colors_17.

  • ‘thick_17’: str, path to nifti file containing the 17 region parcellation fitted to thick template cortex segmentations. The image contains integer values which can be interpreted as the indices in colors_17.

  • ‘colors_7’: str, path to colormaps text file for 7 region parcellation. This file maps voxel integer values from data.thin_7 and data.tick_7 to network names.

  • ‘colors_17’: str, path to colormaps text file for 17 region parcellation. This file maps voxel integer values from data.thin_17 and data.tick_17 to network names.

  • ‘anat’: str, path to nifti file containing the anatomy image.

  • ‘description’: str, description of the atlas.

Notes

Licence: unknown.

References

Examples using nilearn.datasets.fetch_atlas_yeo_2011#

Comparing connectomes on different reference atlases

Comparing connectomes on different reference atlases