.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/1_Spectra_handling/plot_blackbody.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note You can download :ref:`below ` the full example code and run it with 🔬 `Radis-Lab `__, .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_1_Spectra_handling_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/1_Spectra_handling/images/sphx_glr_plot_blackbody_001.png :alt: plot blackbody :srcset: /auto_examples/1_Spectra_handling/images/sphx_glr_plot_blackbody_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none | .. code-block:: Python 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.069 seconds) .. _sphx_glr_download_auto_examples_1_Spectra_handling_plot_blackbody.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_blackbody.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_blackbody.py `