neuromaps.datasets.fetch_atlas

neuromaps.datasets.fetch_atlas(atlas, density, url=None, data_dir=None, verbose=1)[source]

Fetch specified atlas and density.

Parameters:
  • atlas ({'civet', 'fsaverage', 'fsLR', 'MNI152'}) – Atlas to fetch

  • density (str) – Density (or resolution) of atlas. Must be valid for provided atlas

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

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

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

Returns:

atlas – Dictionary where keys are atlas types and values are atlas files

Return type:

dict