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_spm_multimodal_fmri

nilearn.datasets.fetch_spm_multimodal_fmri(data_dir=None, data_name='spm_multimodal_fmri', subject_id=None, verbose=1)[source]

Fetcher for Multi-modal Face Dataset.

For more information, see the dataset description.

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.

data_namestr, default=’spm_multimodal_fmri’

Name of the dataset.

subject_idstr, default=None

Deprecated since version 0.11.2: Will be removed in version 0.13.0.

verboseint, default=1

Verbosity level (0 means no message).

Returns:
datasklearn.utils.Bunch

Dictionary-like object, the interest attributes are:

  • ‘func1’ : list of str. Paths to functional images for run 1

  • ‘func2’ : list of str. Paths to functional images for run 2

  • ‘events1’ : str. Path to onsets TSV file for run 1

  • ‘events2’ : str. Path to onsets TSV file for run 2

  • ‘trials_ses1’ : str. Path to .mat file containing onsets for run 1

  • ‘trials_ses1’ : str. Path to .mat file containing onsets for run 2

  • ‘anat’ : str. Path to anat file

  • ‘description’ : str. Description of the data

  • ‘t_r’float. Repetition time in seconds

    of the functional images.

Examples using nilearn.datasets.fetch_spm_multimodal_fmri

Single-subject data (two runs) in native space

Single-subject data (two runs) in native space