update_atlas#

brainglobe_atlasapi.update_atlases.update_atlas(atlas_name, force=False, fn_update=None)[source]#

Update a brainglobe_atlasapi atlas from the latest available version online.

Parameters:
  • atlas_name (str) – Name of the atlas to update.

  • force (bool) – If False it checks if the atlas is already at the latest version and doesn’t update if that’s the case.

  • fn_update (Callable, Optional) – A callback function to update progress during download.