PyDDM.utils.plot_stretching_exponent

PyDDM.utils.plot_stretching_exponent

plot_stretching_exponent(fit, plot_color, x_position_of_text, axis_to_use=None, low_good_q=None, hi_good_q=None, ylim=None, use_s2=False)

Plot stretching exponent

Creates plot of the stretching exponent parameter vs wavenumber.

Parameters
  • fit (xarray Dataset) – result of fit

  • plot_color (matplotlib color) – Color to plot with

  • x_position_of_text (float) – Where to place text

  • axis_to_use (matplotlib axes, optional) – Defaul is None. If already created figure, can pass the axes so that the stretching exponent is plotted on this figure

  • low_good_q (optional) – Default is None

  • hi_good_q (optional) – Default is None

  • ylim (optional) – Default in None

  • use_s2 (bool, optional) – Default is False