nimare.utils.get_template

get_template(space='mni152_2mm', mask=None)[source]

Load template file.

Parameters
  • space ({‘mni152_1mm’, ‘mni152_2mm’, ‘ale_2mm’}, optional) – Template to load. Default is ‘mni152_1mm’.

  • mask ({None, ‘brain’, ‘gm’}, optional) – Whether to return the raw template (None), a brain mask (‘brain’), or a gray-matter mask (‘gm’). Default is None.

Returns

img (nibabel.nifti1.Nifti1Image) – Template image object.