write_stack#

brainglobe_atlasapi.atlas_generation.stacks.write_stack(stack, filename)[source]#

Write an image stack to a TIFF file.

Parameters:
  • stack (np.ndarray) – The image stack to be saved.

  • filename (str or Path) – The path and filename where the stack will be saved.