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.

3.1.4. nistats.datasets.fetch_openneuro_dataset

nistats.datasets.fetch_openneuro_dataset(urls=None, data_dir=None, dataset_version='ds000030_R1.0.4', verbose=1)

Download OpenNeuro BIDS dataset.

Parameters
urls: list of string, optional

Openneuro url list of dataset files to download. If not specified all files of the specified dataset will be downloaded.

data_dir: string, optional

Path to store the downloaded dataset. if None employ nilearn datasets default download directory.

dataset_version: string, optional

dataset version name. Assumes it is of the form [name]_[version].

verbose: int, optional

verbosity level (0 means no message).

Returns
data_dir: string

Path to downloaded dataset

downloaded_files: list of string

Absolute paths of downloaded files on disk

3.1.4.1. Examples using nistats.datasets.fetch_openneuro_dataset