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_localizer_first_level¶
- nilearn.datasets.fetch_localizer_first_level(data_dir=None, verbose=1)[source]¶
Download a first-level localizer fMRI dataset.
- Parameters:
- data_dir
pathlib.Pathorstr, optional Path where data should be downloaded. By default, files are downloaded in a
nilearn_datafolder in the home directory of the user. See alsonilearn.datasets.utils.get_data_dirs.- verbose
int, default=1 Verbosity level (0 means no message).
- data_dir
- Returns:
- data
sklearn.utils.Bunch Dictionary-like object, with the keys:
epi_img: the input 4D image
events: a csv file describing the paradigm
description: data description
- data
Examples using nilearn.datasets.fetch_localizer_first_level¶
Analysis of an fMRI dataset with a Finite Impule Response (FIR) model
Analysis of an fMRI dataset with a Finite Impule Response (FIR) model