mdreg.plot_series#

mdreg.plot_series(moving, fixed, coreg, path=None, filename='animation', vmin=None, vmax=None, slice=None, interval=250, show=False)[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.

  • slice (int, optional) – The slice to plot. The default is None, which plots the central slice.

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

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

Examples using mdreg.plot_series#

Customizing the coregistration

Customizing the coregistration