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_icbm152_2009#

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

Download and load the ICBM152 template (dated 2009).

The default template of fMRIPrep is the asymmetrical ICBM152 2009, release c (MNI152NLin2009cSAsym). The NiLearn template is asymmetrical ICBM152 2009, release a. If you wish to use the exact same release as fMRIPrep, please refer to TemplateFlow (https://www.templateflow.org/).

For more information, see Fonov et al.[1], Fonov et al.[2], and Collins et al.[3].

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.datasets.base.Bunch

Dictionary-like object, interest keys are:

  • “t1”: str, Path to T1-weighted anatomical image

  • “t2”: str, Path to T2-weighted anatomical image

  • “t2_relax”: str, Path to anatomical image obtained with the T2 relaxometry

  • “pd”: str, Path to the proton density weighted anatomical image

  • “gm”: str, Path to grey matter segmented image

  • “wm”: str, Path to white matter segmented image

  • “csf”: str, Path to cerebrospinal fluid segmented image

  • “eye_mask”: str, Path to eye mask useful to mask out part of MRI images

  • “face_mask”: str, Path to face mask useful to mask out part of MRI images

  • “mask”: str, Path to whole brain mask useful to mask out skull areas

See also

nilearn.datasets.load_mni152_template

to load MNI152 T1 template.

nilearn.datasets.load_mni152_gm_template

to load MNI152 grey matter template.

nilearn.datasets.load_mni152_wm_template

to load MNI152 white matter template.

nilearn.datasets.load_mni152_brain_mask

to load MNI152 whole brain mask.

nilearn.datasets.load_mni152_gm_mask

to load MNI152 grey matter mask.

nilearn.datasets.load_mni152_wm_mask

to load MNI152 white matter mask.

nilearn.datasets.fetch_icbm152_brain_gm_mask

to fetch only ICBM grey matter mask.

Notes

For more information about this dataset’s structure: https://www.bic.mni.mcgill.ca/ServicesAtlases/ICBM152NLin2009

The original download URL is https://www.bic.mni.mcgill.ca/~vfonov/icbm/2009/mni_icbm152_nlin_sym_09a_nifti.zip

TemplateFlow repository for ICBM152 2009

Symmetric: https://github.com/templateflow/tpl-MNI152NLin2009cSym

Asymmetric: https://github.com/templateflow/tpl-MNI152NLin2009cSAsym

References

Examples using nilearn.datasets.fetch_icbm152_2009#

Voxel-Based Morphometry on OASIS dataset

Voxel-Based Morphometry on OASIS dataset