Skip to main content

hydrogym.jax.utils.io

create_animation

def create_animation(trajectory, gif_name, frame_interval_factor)

Produces an animation of the trajectory.

Arguments:

  • trajectory - numpy file of fft vorticity trajectory
  • gif_name - file name of gif file that will be saved
  • interval - frame interval as related to the length of the trajectory.