atlas

classes.atlas

Classes

Name Description
Atlas BrainAtlas with lazy, computed properties for data files and derived attributes.

Atlas

classes.atlas.Atlas(atlas=None, **kwargs)

BrainAtlas with lazy, computed properties for data files and derived attributes.

Usage mirrors other runtime wrappers (Dynamics, SimulationExperiment): - Construct from a BrainAtlas instance, a string name, or nothing (defaults to ‘wholebrain’). - Access metadata to get a self-reference as a LinkML object. - Access properties: volume, volume_file, metadata_file, region_labels, centers.

SANDS entities are stored in self.terminology.entities — a schema-native dict[ParcellationEntityName, ParcellationEntity] produced by the LinkML loader (the entities slot uses inlined: true in the SANDS schema).

Attributes

Name Description
centers Region center coordinates as (N, 3) array.
region_labels Region labels sorted by SANDS lookupLabel.

Methods

Name Description
create_terminology Build terminology entities from the atlas volume if not already populated.
create_terminology
classes.atlas.Atlas.create_terminology()

Build terminology entities from the atlas volume if not already populated.