shamrock.utils.plot.show_image_sequence#

shamrock.utils.plot.show_image_sequence(glob_str, render_gif=True, dpi=200, interval=50, repeat_delay=10)#

Create a matplotlib animation from a sequence of image files.

Available only if matplotlib and PIL are installed.

Parameters#

glob_strstr

Glob pattern matching image files.

render_gifbool, optional

Whether to render the animation.

dpiint, optional

Dots per inch for the figure.

intervalint, optional

Delay between frames in milliseconds.

repeat_delayint, optional

Delay before repeating the animation.

Raises#

FileNotFoundError : if no images are found for the glob pattern

Returns#

matplotlib.animation.FuncAnimation or None

Animation object on rank 0, otherwise None.

Kelvin-Helmholtz instability in RAMSES solver

Kelvin-Helmholtz instability in RAMSES solver

Boundary conditions for linear wave propagation

Boundary conditions for linear wave propagation

Sphere advection with multiple patch

Sphere advection with multiple patch

Cubic lattice reorganisation in SPH

Cubic lattice reorganisation in SPH

Kelvin-Helmholtz instability in SPH

Kelvin-Helmholtz instability in SPH

Killing sphere for SPH simulation

Killing sphere for SPH simulation

Test the pairing instability in SPH

Test the pairing instability in SPH

Shearing box in SPH

Shearing box in SPH

SPH Setup logs

SPH Setup logs