• full name:

  • parent module:

  • type: function, x, y, fit_par, xfunc=None, kwargs={}, plot_fit_args={})[source]

Given x, y, and fit_par (output from alg_decay_fit), produces a plot of the algebraic decay fit.

plot_module is matplotlib.pyplot, or a subplot. x, y are the data (real, 1-dimensional np.ndarray) fit_par is a triplet of numbers [a, b, c] that describes and algebraic decay (see alg_decay()). xfunc is an optional parameter that scales the x-axis in the resulting plot. kwargs is a dictionary, whoses key/items are passed to the plot function. plot_fit_args is a dictionary that controls how the fit is shown.