brainstat.tutorial.utils.fetch_tutorial_data¶
- brainstat.tutorial.utils.fetch_tutorial_data(n_subjects=20, data_dir=None, resume=True, verbose=1)[source]¶
Download and load the surfstat tutorial dataset.
- Parameters
n_subjects (int, optional) – The number of subjects to load from maximum of 100 subjects. By default, 20 subjects will be loaded. If None is given, all 100 subjects will be loaded.
data_dir (string, optional) – Path of the data directory. Used to force data storage in a specified location. If None, data will be download to ~ (home directory). Default: None
resume (bool, optional) – If true, try resuming download if possible
- Returns
data (sklearn.datasets.base.Bunch) –
- Dictionary-like object, the interest attributes are :
’image_files’: Paths to image files in mgh format
’demographics’: Path to CSV file containing demographic information
References