AtlasPackagingData#
- class brainglobe_atlasapi.atlas_generation.atlas_packaging_data.AtlasPackagingData(*, atlas_name, atlas_version, citation, atlas_link, species, root_id, working_dir, volumes, structures_list, meshes_dict, template_info, annotation_info, terminology_info, coordinate_space_info, atlas_packager=None, orientation='asr', additional_metadata=<factory>)[source]#
Bases:
objectContainer for all data required to package a BrainGlobe atlas.
This dataclass is an internal implementation detail of the atlas packaging pipeline. It collects all atlas data in one place to avoid threading individual arguments through many function signatures.
- atlas_name#
Atlas name in the form author_species.
- Type:
str
- atlas_version#
Full version of the atlas, in the form “<ATLAS_VERSION>.<atlas_minor_version>”.
- Type:
str
- citation#
Citation for the atlas, if unpublished specify “unpublished”.
- Type:
str
- atlas_link#
Valid URL for the atlas.
- Type:
str
- species#
Species name formatted as “CommonName (Genus species)”.
- Type:
str
- root_id#
Id of the root element of the atlas.
- Type:
int
- working_dir#
Directory in which the atlas is generated.
- Type:
Path
- volumes#
Volumetric data (stacks, resolution and space convention), already normalised by sanitise_volumetric_data.
- Type:
- structures_list#
List of valid dictionaries for structures.
- Type:
list[dict]
- meshes_dict#
Dict of meshio-compatible mesh file paths in the form {struct_id: meshpath}.
- Type:
Mapping[int | str, str | Path]
- template_info#
Template component information.
- Type:
- annotation_info#
Annotation component information.
- Type:
- terminology_info#
Terminology component information.
- Type:
- coordinate_space_info#
Coordinate space component information.
- Type:
- atlas_packager#
Credit for those responsible for converting the atlas into the BrainGlobe format.
- Type:
str | None, optional
- orientation#
Orientation of the original atlas (tuple describing origin for BGSpace).
- Type:
str, optional
- additional_metadata#
Additional metadata to write to metadata.json.
- Type:
dict, optional
Attributes