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. Exposesreference,annotation, andhemispheresas 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 amasksdimension, 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:
Atlas.resample_like: Resample the atlas onto the grid of a fUSI volume using a pull affine returned byregister_volume.
Please refer to the API Reference and Roadmap for more information.