mdreg.plot.series#

mdreg.plot.series(moving, fixed, coreg, path=None, filename='animation', vmin=None, vmax=None, interval=250, show=True)[source]#

Produce an animation of the original, fitted and coregistered images.

Parameters:
  • moving (numpy.array) – The moving image.

  • fixed (numpy.array) – The fixed/fitted image.

  • coreg (numpy.array) – The coregistered image.

  • path (str, optional) – The path to save the animation. The default is None.

  • filename (str, optional) – The filename of the animation. The default is ‘animation’.

  • vmin (float, optional) – The minimum value for the colormap. The default is None.

  • vmax (float, optional) – The maximum value for the colormap. The default is None.

  • interval (int, optional) – The interval between frames. The default is 250ms.

  • show (bool, optional) – Whether to display the animation. The default is False.