save_hemispheres#
- brainglobe_atlasapi.atlas_generation.stacks.save_hemispheres(stack: List[ndarray[tuple[Any, ...], dtype[_ScalarT]]], output_dir: Path, transformations: List[List[Dict]])[source]#
Save the hemispheres image stack.
- Parameters:
stack (List[np.ndarray]) – The hemispheres image stack.
output_dir (Path) – The directory where the hemispheres image will be saved.
transformations (List[List[Dict]]) – A list of transformations to be saved alongside the hemispheres.