PyDDM.utils.plot_amplitude#
- plot_amplitude(fit, color1='c', color2='k')#
Plot A(q)
Creates plot of the amplitude parameter vs wavenumber. If the amplitude is a fitting parameter, that will be plotted (by default, that will be ‘c’ - cyan). If amplitude is found without fitting, that will be plotted as well (in black by default).
- Parameters:
fit (xarray Dataset) – result of fit
color1 (optional) – Default is ‘c’ (cyan)
color2 (optional) – Default is ‘k’ (black)
- Returns:
fig – Figure created
- Return type:
matplotlib figure