neutronpy.lsfit.Fitter.plot

Fitter.plot(fit_function, function_str=None, plot_residuals=True)[source]

Plots the data and the results of a fit

Parameters:
fit_function :function

the function used in the fit

function_str :string

A string that describes the fit function.

residuals :boolean

If this is True it will give a plot of the residuals