nilearn.datasets
: Automatic Dataset Fetching¶
Helper functions to download NeuroImaging datasets.
User guide: See the Fetching open datasets from Internet section for further details.
Templates¶
Functions¶
|
Download and load the ICBM152 template (dated 2009). |
|
Download ICBM152 template first, then loads the 'gm' mask. |
|
Download a Freesurfer fsaverage surface. |
|
Load fsaverage for both hemispheres as PolyMesh objects. |
|
Return freesurfer data on an fsaverage mesh as a SurfaceImage. |
|
Load the MNI152 whole-brain mask. |
|
Load the MNI152 grey-matter mask. |
|
Load the MNI152 grey-matter template. |
|
Load the MNI152 skullstripped T1 template. |
|
Load the MNI152 white-matter mask. |
|
Load the MNI152 white-matter template. |
Templates descriptions¶
Atlases¶
Deterministic atlases¶
Warning
The atlases shipped with Nilearn do not necessarily use the same MNI template as the default MNI template used by Nilearn for plotting.
This may lead to atlas being poorly coregistered to the underlay image used as underlay: the atlas can appear smaller or bigger than the brain.
This can seen clearly on some of the images below.
You also should not use maskers with an atlas that is not coregistered properly coregistered with the images you want to extract data from as this may lead to invalid results.
name |
image |
---|---|
AAL |
|
BASC multiscale (2015) |
|
Destrieux (2009; surface) |
|
Destrieux (2009; volume) |
|
Harvard-Oxford (subcortical) |
|
Harvard-Oxford |
|
Juelich |
|
Pauli (2017) |
|
Schaefer (2018) |
|
Talairach |
|
Yeo (2011) |
|
Download and returns the AAL template for SPM 12. |
|
Download and load multiscale functional brain parcellations. |
|
Download and load the Destrieux cortical deterministic atlas (dated 2009). |
|
Load Harvard-Oxford parcellations from FSL. |
|
Load Juelich parcellations from FSL. |
|
Download the Pauli et al. (2017) atlas. |
|
Download and return file names for the Schaefer 2018 parcellation. |
|
Download and load Destrieux et al, 2010 cortical Deterministic atlas. |
|
Download the Talairach Deterministic atlas. |
|
Download and return file names for the Yeo 2011 parcellation. |
|
Load the Dosenbach et al 160 ROIs. |
Download and load the Power et al. brain atlas composed of 264 ROIs. |
|
|
Load the Seitzman et al. 300 ROIs. |
Probabilistic atlases¶
Warning
The atlases shipped with Nilearn do not necessarily use the same MNI template as the default MNI template used by Nilearn for plotting.
This may lead to atlas being poorly coregistered to the underlay image used as underlay: the atlas can appear smaller or bigger than the brain.
This can seen clearly on some of the images below.
You also should not use maskers with an atlas that is not coregistered properly coregistered with the images you want to extract data from as this may lead to invalid results.
name |
image |
---|---|
Allen (2011) |
|
Craddock (2012) |
|
Difumo |
|
Harvard-Oxford (subcortical) |
|
Harvard-Oxford |
|
Juelich |
|
MSDL |
|
Smith (2009) |
|
Download and return file names for the Allen and MIALAB ICA Probabilistic atlas (dated 2011). |
|
Download and return file names for the Craddock 2012 parcellation. |
|
Fetch DiFuMo brain atlas. |
|
Load Harvard-Oxford parcellations from FSL. |
|
Load Juelich parcellations from FSL. |
|
Download and load the MSDL brain Probabilistic atlas. |
|
Download the Pauli et al. (2017) atlas. |
|
Download and load the Smith ICA and BrainMap Probabilistic atlas (2009). |
Preprocessed datasets¶
Functions¶
|
Fetch ABIDE dataset. |
|
Download and load the ADHD resting-state dataset. |
|
Download language localizer example bids dataset. |
|
Fetch movie watching based brain development dataset (fMRI). |
|
Fetch URLs for files from the ds000030 BIDS dataset. |
|
Download a first-level fiac fMRI dataset (2 runs). |
|
Download and loads complete haxby dataset. |
Download language localizer demo dataset. |
|
|
Download a first-level localizer fMRI dataset. |
|
Download and loads Miyawaki et al. 2008 dataset (153MB). |
|
Fetch SPM auditory single-subject data. |
|
Fetcher for Multi-modal Face Dataset. |
|
Download and load the NKI enhanced resting-state dataset, preprocessed and projected to the fsaverage5 space surface. |
|
Load NKI enhanced surface data into a surface object. |
Datasets descriptions¶
Statistical maps/derivatives¶
Functions¶
|
Fetch left vs right button press contrast maps from the localizer. |
Fetch calculation task contrast maps from the localizer. |
|
|
Download and load Brainomics/Localizer dataset (94 subjects). |
|
Download and return Network Matrices data from MegaTrawls release in HCP. |
|
Fetch Jimura "mixed gambles" dataset. |
|
Download and load Oasis "cross-sectional MRI" dataset (416 subjects). |
Fetch a contrast map from Neurovault showing the effect of mental subtraction upon auditory instructions. |
|
|
Fetch left vs right button press group contrast map from Neurovault. |
Statistical maps/derivatives descriptions¶
General functions¶
Functions¶
|
Download data from neurovault.org that match certain criteria. |
|
Download specific images and collections from neurovault.org. |
|
Download OpenNeuro BIDS dataset. |
|
Return the directories in which nilearn looks for data. |
|
Add symlinks for files not named according to BIDS conventions. |
|
Select subset of urls with given filters. |
Load a single functional image showing motor activations. |