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.load_mni152_gm_template

nilearn.datasets.load_mni152_gm_template(resolution=None)[source]

Load the MNI152 grey-matter template.

This function takes the re-scaled 1mm-resolution version of the grey-matter MNI ICBM152 template and re-samples it using a different resolution, if specified.

Added in version 0.8.1.

Parameters:
resolutionint, default=1

If resolution is different from 1, the template is re-sampled with the specified resolution.

Returns:
gm_mni152_templateNifti1Image, image representing the resampled

grey-matter template

See also

nilearn.datasets.load_mni152_template

for details about version of the MNI152 T1 template.

nilearn.datasets.load_mni152_wm_template

for details about version of the MNI152 white-matter template.