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_auditory

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

Fetch SPM auditory single-subject data.

See SPM auditory single-subject data[1].

Parameters:
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=None

Indicates which subject to retrieve. Will be removed in version 0.13.0.

verboseint, default=1

Verbosity level (0 means no message).

Returns:
datasklearn.datasets.base.Bunch

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

References

Examples using nilearn.datasets.fetch_spm_auditory

Intro to GLM Analysis: a single-run, single-subject fMRI dataset

Intro to GLM Analysis: a single-run, single-subject fMRI dataset

Predicted time series and residuals

Predicted time series and residuals