.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/calculate_rovibrational_energies.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_calculate_rovibrational_energies.py: ================================ Calculate Rovibrational Energies ================================ RADIS can simply be used to calculate the rovibrational energies of molecules, using the built-in :ref:`spectroscopic constants ` (or your own!). See the :py:func:`~radis.db.molecules.getMolecule` function, and the :py:data:`~radis.db.molecules.Molecules` list containing all :py:class:`~radis.db.classes.ElectronicState` objects. .. GENERATED FROM PYTHON SOURCE LINES 14-21 .. code-block:: default from radis import getMolecule # Here we get the energy of the v=6, J=3 level of the 2nd isotope of CO:: CO = getMolecule("CO", 2, "X") print(CO.Erovib(6, 3)) .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.000 seconds) .. _sphx_glr_download_auto_examples_calculate_rovibrational_energies.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: calculate_rovibrational_energies.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: calculate_rovibrational_energies.ipynb `