.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/simple_simulations/two_gaussians.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_simple_simulations_two_gaussians.py: Simple simulation (2 Gaussians) =============================== Creates a 2D hyperspectrum consisting of two Gaussians and plots it. This example can serve as starting point to test other functionalities on the simulated hyperspectrum. .. GENERATED FROM PYTHON SOURCE LINES 11-66 .. rst-class:: sphx-glr-horizontal * .. image-sg:: /auto_examples/simple_simulations/images/sphx_glr_two_gaussians_001.png :alt: from fitted model Navigator :srcset: /auto_examples/simple_simulations/images/sphx_glr_two_gaussians_001.png :class: sphx-glr-multi-img * .. image-sg:: /auto_examples/simple_simulations/images/sphx_glr_two_gaussians_002.png :alt: from fitted model Signal :srcset: /auto_examples/simple_simulations/images/sphx_glr_two_gaussians_002.png :class: sphx-glr-multi-img .. rst-class:: sphx-glr-script-out .. code-block:: none Exception ignored in: Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/tqdm/std.py", line 1148, in __del__ self.close() File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/tqdm/notebook.py", line 279, in close self.disp(bar_style='danger', check_delay=False) ^^^^^^^^^ AttributeError: 'tqdm_notebook' object has no attribute 'disp' 0%| | 0/1024 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: two_gaussians.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_