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_fiac_first_level

nilearn.datasets.fetch_fiac_first_level(data_dir=None, verbose=1)[source]

Download a first-level fiac fMRI dataset (2 runs).

Parameters:
data_dirpathlib.Path or str or None, 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.

verbosebool or int, default=1

Verbosity level (0 or False means no message).

Returns:
datasklearn.utils.Bunch

Dictionary-like object, the interest attributes are:

  • ‘design_matrix1’: pandas.DataFrame. Design matrix for run 1

  • ‘func1’: str. Path to Nifti file of run 1

  • ‘design_matrix2’: pandas.DataFrame. Design matrix for run 2

  • ‘func2’: str. Path to Nifti file of run 2

  • ‘mask’: str. Path to mask file

  • ‘description’: str. Data description

Notes

If the dataset files are already present in the user’s Nilearn data directory, this fetcher will not re-download them. To force a fresh download, you can remove the existing dataset folder from your local Nilearn data directory.

For more details on how Nilearn stores datasets.

For more information see the dataset description.

Examples using nilearn.datasets.fetch_fiac_first_level

Simple example of two-runs fMRI model fitting

Simple example of two-runs fMRI model fitting