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 [1].

Downloading the index allows users to explore the dataset directories to select specific files to download. The index is a sorted list of urls.

Parameters:
data_dirpathlib.Path or str or None, 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.

verbosebool or int, default=1

Verbosity level (0 or False means no message).

Returns:
urls_pathstr

Path to downloaded dataset index.

urlslist of str

Sorted list of dataset directories.

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.

References

Examples using nilearn.datasets.fetch_ds000030_urls

First level analysis of a complete BIDS dataset from openneuro

First level analysis of a complete BIDS dataset from openneuro