shamrock.utils.plot.show_image_sequence#

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

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.

Compare first- vs second-order interpolation on AMR Sod tube

Compare first- vs second-order interpolation on AMR Sod tube

Kelvin-Helmholtz instability in RAMSES solver

Kelvin-Helmholtz instability in RAMSES solver

Boundary conditions for linear wave propagation

Boundary conditions for linear wave propagation

Sod tube test with pseudogradient based refinment

Sod tube test with pseudogradient based refinment

Sphere advection with multiple patch

Sphere advection with multiple patch

Cubic lattice reorganisation in SPH

Cubic lattice reorganisation in SPH

Dusty diffusion SPH test

Dusty diffusion SPH test

Dusty settling SPH test

Dusty settling SPH test

Dusty wave SPH test

Dusty wave SPH test

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

Testing Sod tube with SPH

Testing Sod tube with SPH

Testing Dusty TVA Sod tube with SPH

Testing Dusty TVA Sod tube with SPH

Shearing box in SPH

Shearing box in SPH

SPH Setup logs

SPH Setup logs