save_hemispheres#
- brainglobe_atlasapi.atlas_generation.stacks.save_hemispheres(stack, output_dir)[source]#
Save the hemispheres image stack.
Ensures the stack is of the correct data type before saving.
- Parameters:
stack (np.ndarray) – The hemispheres image stack.
output_dir (Path) – The directory where the hemispheres image will be saved.