PyDDM.utils.plot_fraction

Contents

PyDDM.utils.plot_fraction#

plot_fraction(fit, color='m')#

Plot fraction of dynamics described by ballistic term

In fit models containing the parameter ‘FractionBallistic’, that parameter will be plotted versus the wavenumber.

Parameters:
  • fit (xarray Dataset) – result of fit

  • color (matplotlib color) – Color to plot with Default is ‘m’ (magenta)

Returns:

fig – Figure created

Return type:

matplotlib figure