HCP DOWNLOAD
How to download HCP data (humanconnectome.org)
-
Overview: Some HCP (Human Connectome Project) data is distributed on the web, but most require account registration and agreement to data usage terms.
-
Advance preparation:
- Register an account with humanconnectome.org or ConnectomeDB and agree to the required data usage agreement.
-
API token or credentials may be required. Obtain it according to your organization's policies.
-
Additional files in the repository:
tools/download_hcp.py: Generic download script (reads configuration file and downloads list of URLs).-
config/hcp_config.example.yaml: Configuration example. List the download targets indatasets. -
Usage example:
# Insert the necessary packages
> [!NOTE]
> For the latest implementation status, please refer to [Functional Implementation Status (Remaining Functionality)](REMAINING_FUNCTIONALITY.md).
pip3 install requests pyyaml
# After editing the configuration file and specifying credentials / datasets
python3 tools/download_hcp.py -c config/hcp_config.example.yaml
# When downloading by directly specifying a single URL
python3 tools/download_hcp.py -d "https://.../file.zip" -o data/connectome
- Note:
- Follow HCP distribution policies. Downloading large amounts of data consumes bandwidth and storage.
-
Since the login method differs depending on the site, please adjust it based on
config/hcp_config.example.yamlas necessary (token, form login, cookie, etc.). -
Next step suggestions:
- If you provide us with the actual HCP data ID (or URL), we will materialize the configuration file template and create a test procedure.