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.
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).
For more information see the dataset description.
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.Pathorstror None, optional Path where data should be downloaded. By default, files are downloaded in a
nilearn_datafolder in the home directory of the user. See alsonilearn.datasets.utils.get_data_dirs.- url
stror 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
boolorint, default=1 Verbosity level (
0orFalsemeans no message).
- data_dir
- Returns:
- data
sklearn.utils.Bunch Dictionary-like object, contains:
csf:str. Full path to probabilistic map for cerebrospinal fluideye_mask:str. Full path to eye mask useful to mask out part of MRI imagesface_mask:str. Full path to face mask useful to mask out part of MRI imagesgm:str. Full path to probabilistic map for gray mattermask:str. Full path to whole brain mask useful to mask out skull areaspd:str. Full path to proton density-weighted anatomical templates (non-linear average)t1:str. Full path to T1-weighted anatomical template (non-linear average)t2:str. Full path to T2-weighted anatomical template (non-linear average)t2_relax:str. Full path to T2-weighted/relaxed anatomical templatewm:str. Full path to probabilistic map for white matter
- data
See also
nilearn.datasets.load_mni152_templateto load MNI152 T1 template.
nilearn.datasets.load_mni152_gm_templateto load MNI152 gray matter template.
nilearn.datasets.load_mni152_wm_templateto load MNI152 white matter template.
nilearn.datasets.load_mni152_brain_maskto load MNI152 whole brain mask.
nilearn.datasets.load_mni152_gm_maskto load MNI152 gray matter mask.
nilearn.datasets.load_mni152_wm_maskto load MNI152 white matter mask.
nilearn.datasets.fetch_icbm152_brain_gm_maskto fetch only ICBM gray matter mask.
Notes
If the dataset files are already present in the user’s Nilearn data directory, this fetcher will not re-download them. To force a fresh download, you can remove the existing dataset folder from your local Nilearn data directory.
For more details on how Nilearn stores datasets.