neuromaps.datasets.get_atlas_dir

neuromaps.datasets.get_atlas_dir(atlas, data_dir=None)[source]

Return filepath to specified atlas.

Parameters:
  • atlas (str) – Atlas for which filepath should be returned

  • 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

Returns:

atlas_dir – Full filepath to atlas directory

Return type:

os.PathLike

Raises:

ValueError – If provided atlas is not valid