PyDDM.utils.plot_background

PyDDM.utils.plot_background

plot_background(fit, color='m', color2='k')

Plot B(q)

Creates plot of the background parameter vs wavenumber. If the background is a fitting parameter, that will be plotted (by default, that will be ‘m’ - magenta). If background 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)