{{ title }}


{{ description }}


{% if best_results|length == 1 %}

This is the best fit of the minimizers used.


{% if list_params %} {% set initial_list = initial_guess.split(", ") %} {% set fitted_list = min_params.split(", ") %} {% for init in initial_list %} {% set fit = fitted_list[loop.index0] %} {% set init_key, init_value = init.split("=") %} {% set fit_key, fit_value = fit.split("=") %} {% endfor %} {% else %} {% endif %}
Summary
Number of parameters {{ n_params }}
Number of data points {{ n_data_points }}
Minimizer {{ best_results[0].modified_minimizer_name(True) }}
Function
Form {{ equation }}
Parameters
Name Initial value Best value Change (Δ)
{{ init_key.strip() }} {{ init_value.strip() }} {{ fit_value.strip() }} {{ fit_value.strip()|float - init_value.strip()|float }}
Too many parameters to display
{% if best_plots_available[0] %} {% else %}

{{ rerun_make_plots_msg }}

{% endif %}
{% else %} {% for cat in categories %}

{{ plot_descriptions[loop.index0] }}


{% if list_params %} {% set initial_list = initial_guess.split(", ") %} {% set fitted_list = min_params.split(", ") %} {% for init in initial_list %} {% set fit = fitted_list[loop.index0] %} {% set init_key, init_value = init.split("=") %} {% set fit_key, fit_value = fit.split("=") %} {% endfor %} {% else %} {% endif %}
Summary
Number of parameters {{ n_params }}
Number of data points {{ n_data_points }}
Minimizer {{ best_results[loop.index0].modified_minimizer_name(True)}}
Function
Form {{ equation }}
Parameters
Name Initial value Best value Change (Δ)
{{ init_key.strip() }} {{ init_value.strip() }} {{ fit_value.strip() }} {{ fit_value.strip()|float - init_value.strip()|float }}
Too many parameters to display
{% if best_plots_available[loop.index0] %} {% else %}

{{ rerun_make_plots_msg }}

{% endif %}
{% endfor %} {% endif %}

{% if summary_plot_available %} {% if best_results|length > 1 %}

Summary

This plot shows a comparison of the runs across cost functions. Colours are used to distinguish between fits obtained using each cost function. Within a cost function, the minimizer which produced closest fit is in bold and the other minimizers are shown as thinner dashed lines for context.
Please note that this plot is intended for use as an indication of the variety of the fits that were obtained for specific details, please consult the individual support pages.

{% endif %}

Residuals

Below, you can see a plot for each cost function used (one or multiple), showing the residuals for each fit. Different colours correspond to different minimizers. The minimizer that produced the best fit is marked in the legend. To be able to compare this to the residuals for other minimizers, it might be necessary to click on their names in the legend to hide/show the respective data.

{% if two_d_plot_available %}

2d Plots

The plot below shows the fit on the 2D data. For each cost function used, only the best fit is shown, that is the fit produced by the best minimizer in each case. A contour plot can be added on top of the 2D image (or hidden) by clicking on the corresponding name in the legend shown below the plot. When more than one plot is shown, i.e. for multiple cost functions, the plots share the same colour range, so the same colorbar applies to both.

{% endif %} {% if multistart_plot_avaliable %}

Multistart plots

The plot below shows the fits with different starting conditions. The line traces shaded red are the starting values that did not lead to good fitting outcomes. While the line traces shaded blue are the ones that did. The data points are also displayed in the subplots. For the best visualization of the multistart plot, it is recommended to limit the number of sub plots to 9 or less.

{% endif %} {% else %}

{{ rerun_make_plots_msg }}

{% endif %}