neuromaps.datasets.fetch_mni152

neuromaps.datasets.fetch_mni152(density='1mm', url=None, data_dir=None, verbose=1)[source]

Fetch MNI152 atlas.

Parameters:
  • density ({'1mm', '2mm', '3mm'}, optional) – Resolution of MNI152 atlas to fetch. Default: ‘1mm’

  • 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