.. _sphx_glr_auto_examples_model_fitting:

Model fitting
=============

Below is a gallery of examples on model fitting.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Fit an affine function and plot the residual.">

.. only:: html

  .. image:: /auto_examples/model_fitting/images/thumb/sphx_glr_plot_residual_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_model_fitting_plot_residual.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Plot Residual</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Fit an arctan function.">

.. only:: html

  .. image:: /auto_examples/model_fitting/images/thumb/sphx_glr_simple_arctan_fit_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_model_fitting_simple_arctan_fit.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Simple arctan fit</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/model_fitting/plot_residual
   /auto_examples/model_fitting/simple_arctan_fit