netneurotools.datasets.fetch_hcp_standards

netneurotools.datasets.fetch_hcp_standards(data_dir=None, url=None, resume=True, verbose=1)[source]

Fetch HCP standard mesh atlases for converting between FreeSurfer and HCP.

Parameters:
  • data_dir (str, optional) – Path to use as data directory. If not specified, will check for environmental variable ‘NNT_DATA’; if that is not set, will use ~/nnt-data instead. Default: None

  • url (str, optional) – URL from which to download data. Default: None

  • resume (bool, optional) – Whether to attempt to resume partial download, if possible. Default: True

  • verbose (int, optional) – Modifies verbosity of download, where higher numbers mean more updates. Default: 1

Returns:

standards – Filepath to standard_mesh_atlases directory

Return type:

str