save_template#

brainglobe_atlasapi.atlas_generation.stacks.save_template(stack, output_dir, transformations)[source]#

Save the template image stack along with its transformations.

Parameters:
  • stack (List[np.ndarray]) – The template image stack.

  • output_dir (Path) – The directory where the template image will be saved.

  • transformations (List[List[Dict]]) – A list of transformations to be saved alongside the template.