.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/model_fitting/EELS_curve_fitting.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_model_fitting_EELS_curve_fitting.py: EELS curve fitting ================== Performs curve fitting to an EELS spectrum, plots the result and saves it as png file. .. GENERATED FROM PYTHON SOURCE LINES 10-32 .. image-sg:: /auto_examples/model_fitting/images/sphx_glr_EELS_curve_fitting_001.png :alt: coreloss_spectrum Signal :srcset: /auto_examples/model_fitting/images/sphx_glr_EELS_curve_fitting_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none 0%| | 0.00/42.3M [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: EELS_curve_fitting.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: EELS_curve_fitting.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_