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

Parameters
data_dirpathlib.Path or str, optional

Path where data should be downloaded. By default, files are downloaded in home directory.

data_namestring, optional

Name of the dataset. Default=’spm_multimodal_fmri’.

subject_idstring, optional

Indicates which subject to retrieve. Default=’sub001’.

verboseint, optional

Verbosity level (0 means no message). Default=1.

Returns
datasklearn.datasets.base.Bunch

Dictionary-like object, the interest attributes are: - ‘func1’: string list. Paths to functional images for session 1 - ‘func2’: string list. Paths to functional images for session 2 - ‘trials_ses1’: string list. Path to onsets file for session 1 - ‘trials_ses2’: string list. Path to onsets file for session 2 - ‘anat’: string. Path to anat file

References

1

Spm multi-modal face dataset. http://www.fil.ion.ucl.ac.uk/spm/data/mmfaces/. Accessed: 2021-05-19.

Examples using nilearn.datasets.fetch_spm_multimodal_fmri#

Single-subject data (two sessions) in native space

Single-subject data (two sessions) in native space

Single-subject data (two sessions) in native space