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.

brainprep.datasets.utils.openneuro_download

brainprep.datasets.utils.openneuro_download(url, destination)[source]

Download data from OpenNeuro URL and saves it locally.

Parameters:
url: str

Direct URL to the data file on OpenNeuro.

destination: Path

Path to the saved data file.

Raises:
ValueError

If the URL does not point to ‘s3.amazonaws.com/openneuro.org’.