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

nilearn.datasets.fetch_language_localizer_demo_dataset(data_dir=None, verbose=1, legacy_output=True)[source]

Download language localizer demo dataset.

Parameters:
data_dirpathlib.Path or str, optional

Path where data should be downloaded. By default, files are downloaded in a nilearn_data folder in the home directory of the user. See also nilearn.datasets.utils.get_data_dirs.

verboseint, default=1

Verbosity level (0 means no message).

legacy_outputbool, default=True

Added in version 0.10.3.

Returns:
datasklearn.utils.Bunch

Dictionary-like object, the interest attributes are :

  • 'data_dir': str Path to downloaded dataset.

  • 'func': list of str, Absolute paths of downloaded files on disk

  • 'description' : str, dataset description

Warning

LEGACY OUTPUT:

data_dirstr

Path to downloaded dataset.

downloaded_fileslist of str

Absolute paths of downloaded files on disk

Examples using nilearn.datasets.fetch_language_localizer_demo_dataset

BIDS dataset first and second level analysis

BIDS dataset first and second level analysis

Surface-based dataset first and second level analysis of a dataset

Surface-based dataset first and second level analysis of a dataset

Beta-Series Modeling for Task-Based Functional Connectivity and Decoding

Beta-Series Modeling for Task-Based Functional Connectivity and Decoding