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_ds000030_urls¶
- nilearn.datasets.fetch_ds000030_urls(data_dir=None, verbose=1)[source]¶
Fetch URLs for files from the ds000030 BIDS dataset.
Added in Nilearn 0.9.2.
This dataset is version 1.0.4 of the “UCLA Consortium for Neuropsychiatric Phenomics LA5c” dataset
Downloading the index allows users to explore the dataset directories to select specific files to download. The index is a sorted list of urls.
For more information, see the dataset description.
Recommendation
We strongly suggest you do NOT use this function in your analysis pipeline to fetch this dataset from openneuro.
The Datalad package offers more flexibility to access those datasets:
Note also that each openneuro dataset has a tab giving you advice on how to download it (see for example).
- Parameters:
- data_dir
pathlib.Pathorstror None, optional Path where data should be downloaded. By default, files are downloaded in a
nilearn_datafolder in the home directory of the user. See alsonilearn.datasets.utils.get_data_dirs.- verbose
boolorint, default=1 Verbosity level (
0orFalsemeans no message).
- data_dir
- Returns:
Notes
If the dataset files are already present in the user’s Nilearn data directory, this fetcher will not re-download them. To force a fresh download, you can remove the existing dataset folder from your local Nilearn data directory.
For more details on how Nilearn stores datasets.
Examples using nilearn.datasets.fetch_ds000030_urls¶
First level analysis of a complete BIDS dataset from openneuro