brainglobe_atlasapi.atlas_generation.validate_atlases#

Description

Script to validate atlases.

Functions

catch_missing_mesh_files

Check if all structures in the atlas have a corresponding mesh file.

catch_missing_structures

Check if all mesh files in the atlas folder are listed as a structure.

get_all_validation_functions

Return all individual validation functions as a list.

open_for_visual_check

Open the atlas for visual inspection (not implemented).

validate_additional_references

Check that additional references have expected properties.

validate_annotation_symmetry

Validate that equivalent regions in left and right hemispheres have the same annotation value.

validate_atlas

Validate the latest version of a given atlas.

validate_atlas_files

Check if essential files exist in the atlas folder.

validate_atlas_name

Validate the naming convention of the atlas.

validate_checksum

Validate the atlas checksum (not implemented).

validate_image_dimensions

Check that annotation and reference images have identical dimensions.

validate_mesh_matches_image_extents

Check if the mesh and the image extents are similar.

validate_metadata

Validate the atlas metadata.

validate_reference_image_pixels

Validate that the reference image was correctly rescaled.