mdreg.plot.par#
- mdreg.plot.par(array: ndarray, path=None, filename='image', vmin=None, vmax=None, title='', show=True)[source]#
Plot a 2D or 3D image.
- Parameters:
array (numpy.array) – The 2D or 3D image to animate.
path (str, optional) – The path to save the animation. The default is None.
filename (str, optional) – The filename to save the image. The default is ‘image’.
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.
title (str, optional) – The title of the plot. The default is ‘’.
show (bool, optional) – Whether to display the animation. The default is False.