displays#
Display functions
- arte.utils.displays.movie(frames, interval=0.1, *args, **kwargs)#
- Parameters:
frames (ndarray) – 3d array [time, rows, cols] with the data to display
interval (float. optional) – delay between frames in seconds, default=0.1 seconds
- arte.utils.displays.savegif(frames, filename, interval=0.1, loop=0)#
- Parameters:
frames (ndarray) – 3d array [time, rows, cols] with the data to save
filename (string, pathlib.Path object or file object) – filename or path or fileobject where the animated GIF is saved
interval (float) – delay between frames in seconds
loop (int) – number of times the GIF should loop. Default 0, which means to loop forever.
- arte.utils.displays.tile(frames, rowlength=10)#
- Parameters:
frames (ndarray) – 3d array [time, rows, cols] with the data to display
rowlength (int, optional) – number of frames to arrange in a row