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_auditory(data_dir=None, data_name='spm_auditory', subject_id='sub001', verbose=1)[source]#

Fetch SPM auditory single-subject data.

See SPM auditory single-subject data[1].

data_dirpathlib.Path or str, 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_auditory’

Name of the dataset.

subject_idstr, default=’sub001’

Indicates which subject to retrieve.

verboseint, default=1

Verbosity level (0 means no message).


Dictionary-like object, the interest attributes are: - ‘func’: list of str. Paths to functional images - ‘anat’: list of str. Path to anat image - ‘description’: str. Data description


Examples using nilearn.datasets.fetch_spm_auditory#

Predicted time series and residuals

Predicted time series and residuals