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_miyawaki2008#
- nilearn.datasets.fetch_miyawaki2008(data_dir=None, url=None, resume=True, verbose=1)[source]#
Download and loads Miyawaki et al. 2008 dataset (153MB).
See [1].
- Parameters:
- data_dir
pathlib.Path
orstr
, optional Path where data should be downloaded. By default, files are downloaded in home directory.
- url
str
, default=None URL of file to download. Override download URL. Used for test only (or if you setup a mirror of the data).
- resume
bool
, default=True Whether to resume download of a partly-downloaded file.
- verbose
int
, default=1 Verbosity level (0 means no message).
- data_dir
- Returns:
- dataBunch
Dictionary-like object, the interest attributes are :
- ‘func’: string list
Paths to nifti file with bold data
- ‘label’: string list
Paths to text file containing session and target data
- ‘mask’: string
Path to nifti mask file to define target volume in visual cortex
- ‘background’: string
Path to nifti file containing a background image usable as a background image for miyawaki images.
Notes
This dataset is available on the brainliner website
References
Examples using nilearn.datasets.fetch_miyawaki2008
#
Encoding models for visual stimuli from Miyawaki et al. 2008
Reconstruction of visual stimuli from Miyawaki et al. 2008
Understanding NiftiMasker and mask computation