.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_blackbody.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Run this example online : - Click :ref:`here ` to download the full example code - Then start `Radis-Lab `__, upload the Jupyter notebook, and run it from there. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_blackbody.py: =================== Blackbody radiation =================== Compute Planck's blackbody emission and return a RADIS :py:class:`~radis.spectrum.spectrum.Spectrum` object for easier post-processing. Uses :py:class:`~radis.phys.blackbody.sPlanck`. .. GENERATED FROM PYTHON SOURCE LINES 14-22 .. image-sg:: /auto_examples/images/sphx_glr_plot_blackbody_001.png :alt: plot blackbody :srcset: /auto_examples/images/sphx_glr_plot_blackbody_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans. findfont: Generic family 'sans-serif' not found because none of the following families were found: Helvetica, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Avant Garde, sans-serif | .. code-block:: default from radis.phys.blackbody import sPlanck sPlanck(wavelength_min=135, wavelength_max=3000, T=4000).plot() sPlanck(wavelength_min=135, wavelength_max=3000, T=5000).plot(nfig="same") sPlanck(wavelength_min=135, wavelength_max=3000, T=6000).plot(nfig="same") sPlanck(wavelength_min=135, wavelength_max=3000, T=7000).plot(nfig="same") .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 1.204 seconds) .. _sphx_glr_download_auto_examples_plot_blackbody.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_blackbody.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_blackbody.ipynb `