Skip to content

Atlases

Coming soon

This page is currently under construction. The atlas module provides tools for loading and working with standard brain atlases via the BrainGlobe Atlas API:

Loading:

  • Atlas.from_brainglobe: Load any BrainGlobe atlas by name or from an existing instance. Exposes reference, annotation, and hemispheres as Xarray DataArrays with physical coordinates in millimetres.

Structure lookup:

  • Atlas.lookup: DataFrame of all structures with acronym, name, and RGB colour.
  • Atlas.search: Search structures by substring or regex across acronym and name fields.
  • Atlas.ancestors: Return the ancestor nodes of a region, ordered from root down.

Masks and meshes:

  • Atlas.get_masks: Build integer region masks stacked along a masks dimension, with optional per-region hemisphere filtering ("left", "right", or "both"). Descendant regions are included automatically.
  • Atlas.get_mesh: Load the OBJ surface mesh for a region, clipped to a hemisphere if requested, in the atlas physical space (mm).

Registration:

Please refer to the API Reference and Roadmap for more information.