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='sub001', verbose=1)[source]#
Fetcher for Multi-modal Face Dataset.
See SPM Multi-modal Face Dataset[1].
- Parameters:
- data_dir
pathlib.Path
orstr
, 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 alsonilearn.datasets.utils.get_data_dirs
.- data_name
str
, default=’spm_multimodal_fmri’ Name of the dataset.
- subject_id
str
, default=’sub001’ Indicates which subject to retrieve.
- verbose
int
, default=1 Verbosity level (0 means no message).
- data_dir
- Returns:
- datasklearn.datasets.base.Bunch
Dictionary-like object, the interest attributes are: - ‘func1’: string list. Paths to functional images for run 1 - ‘func2’: string list. Paths to functional images for run 2 - ‘trials_ses1’: string list. Path to onsets file for run 1 - ‘trials_ses2’: string list. Path to onsets file for run 2 - ‘anat’: string. Path to anat file - ‘description’:
str
. Description of the data
References
Examples using nilearn.datasets.fetch_spm_multimodal_fmri
#
Single-subject data (two runs) in native space