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).
Nilearn MNI template
The Nilearn template is asymmetrical ICBM152 2009, release a.
The default template of fMRIPrep is the asymmetrical ICBM152 2009, release c (MNI152NLin2009cSAsym).
If you wish to use the exact same release as fMRIPrep, please refer to TemplateFlow.
- Parameters:
- data_dir
pathlib.Path
orstr
or None, 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 alsonilearn.datasets.utils.get_data_dirs
.- url
str
or None, default=None URL of file to download. Override download URL. Used for test only (or if you setup a mirror of the data).
- resume
bool
, default=True Whether to resume download of a partly-downloaded file.
- verbose
int
, default=1 Verbosity level (0 means no message).
- data_dir
- Returns:
- data
sklearn.utils.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 gray 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
- data
See also
nilearn.datasets.load_mni152_template
to load MNI152 T1 template.
nilearn.datasets.load_mni152_gm_template
to load MNI152 gray 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 gray 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 gray matter mask.
Notes
For more information see the dataset description.