etspy.base.CommonStack.save_movie(start: int, stop: int, axis: 'XY' | 'YZ' | 'XZ' = 'XY', fps: int = 15, dpi: int = 100, outfile: str | Path = 'output.avi', title: str = 'output.avi', clim: tuple[float, float] | None = None, cmap: str = 'afmhot')[source]

Save the Stack as an AVI movie file.

Parameters:
start: int

Starting slice number for animation

stop: int

Ending slice number for animation

axis: 'XY' | 'YZ' | 'XZ' = 'XY'

Projection axis for the output movie. Must be 'XY' (default), 'YZ' , or 'XZ'

fps: int = 15

Number of frames per second at which to create the movie.

dpi: int = 100

Resolution to save the images in the movie.

outfile: str | Path = 'output.avi'

Filename for output.

title: str = 'output.avi'

Title to add at the top of the movie

clim: tuple[float, float] | None = None

Upper and lower contrast limit to use for movie

cmap: str = 'afmhot'

Matplotlib colormap to use for movie