PyDDM.utils.plot_schulz#
- plot_schulz(fit, color='m', use2=False)#
Plot Schulz number
In fit models containing the parameter ‘SchulzNum’, 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)
use2 (bool, optional) – Default is False. If True, will plot the parameter ‘SchulzNum2’ (used if the model contains two terms both having a Schulz Number)
- Returns:
fig – Figure created
- Return type:
matplotlib figure