Using the files directly
How to access the files outside of the Python API
Although the API should provide you with the tools you need to work with the atlas (and if they don't, please raise an issue), you may wish to find the files themselves.
By default, atlases will be downloaded and saved into your home directory in a hidden directory (
.brainglobe), with one directory per atlas e.g.
In each atlas directory, there will be the following sub-directories and files:
reference.tiffThe "template" brain image, i.e. a structural image of the brain (or average of brains) in which the annotations are defined
annotation.tiffAn image of the same shape as
reference.tiffbut in which each pixel value corresponds to a unique brain area. A pixel value of 0 typically refers to areas outside the brain
meshesA directory of mesh files (as
.obj) for each brain region, defined by the unique region ID
structures.jsonA file describing the mapping of brain region ID to region name, and the hierarchy of brain structures
metadata.jsonA file containing the atlas metadata, such as the shape of the images, the anatomical orientation, and the details of the source of the atlas
README.txtA human readable version of the metadata and brain region hierarchies