Fitting
=======

.. currentmodule:: flaremodel

.. autoclass:: SEDFitLM
    :members: fit_fun, plot_data, plot_data, plot_fun, fit, guess, report_fit, plot_fit, plot_initial_guess, edist_fun_from_fit, plot_edist


    .. _lmfit.Minimizer: https://lmfit.github.io/lmfit-py/fitting.html#lmfit.minimizer.Minimizer
    .. _lmfit.Parameters: https://lmfit.github.io/lmfit-py/parameters.html#lmfit.parameter.Parameters
    .. _lmfit.Minimizer.minimize: https://lmfit.github.io/lmfit-py/fitting.html#lmfit.minimizer.Minimizer.minimize
    .. _lmfit.Minimizer.MinimizerResult: https://lmfit.github.io/lmfit-py/fitting.html#minimizerresult-the-optimization-result
    .. _lmfit.fit_report: https://lmfit.github.io/lmfit-py/fitting.html#getting-and-printing-fit-reports
    .. _matplotlib.pyplot.errorbar: https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.errorbar.html
    .. _matplotlib.pyplot.axis: https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.axis.html
