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.

7.2.18. nilearn.datasets.fetch_localizer_button_task

nilearn.datasets.fetch_localizer_button_task(data_dir=None, url=None, verbose=1)

Fetch left vs right button press contrast maps from the localizer.

This function ships only 2nd subject (S02) specific tmap and its normalized T1 image.

Parameters:

data_dir: string, optional

Path of the data directory. Used to force data storage in a specified location.

url: string, optional

Override download URL. Used for test only (or if you setup a mirror of the data).

verbose: int, optional

verbosity level (0 means no message).

Returns:

data: Bunch

Dictionary-like object, the interest attributes are : ‘tmap’: string, giving paths to nifti contrast maps ‘anat’: string, giving paths to normalized anatomical image

Notes

This function is only a caller for the fetch_localizer_contrasts in order to simplify examples reading and understanding. The ‘left vs right button press’ contrast is used.

7.2.18.1. Examples using nilearn.datasets.fetch_localizer_button_task