eelbrain.plot.UTS.save_movie

UTS.save_movie(filename=None, time_dilation=4.0, **kwargs)

Save the figure with moving time axis as movie

Parameters:
  • filename (path-like) – Filename for the movie (omit to use a GUI).

  • time_dilation (float) – Factor by which to stretch time (default 4). Time dilation is controlled through the frame-rate; if the fps keyword argument is specified, time_dilation is ignored.

  • ...imageio.mimwrite() parmeters.

Notes

For a given size (figure width and height in inches), control export resolution through pyplot.rcParams['figure.dpi'].