Partition Functions from spectroscopic constants

By default and for equilibrium calculations, RADIS calculates Partition Functions using the TIPS program through [HAPI]. These partition functions can be retrieved with the PartFunc_Dunham class:

.. GENERATED FROM PYTHON SOURCE LINES 12-26
from radis.db.molecules import Molecules
from radis.levels.partfunc import PartFunc_Dunham

isotope = 1
electronic_state = "X"
S = Molecules["CO"][isotope][electronic_state]

# Equilibrium partition functions :
Qf = PartFunc_Dunham(S)
print(Qf.at(T=3000))  # K

# Nonequilibrium partition functions :
print(Qf.at_noneq(Tvib=2000, Trot=1000))  # K

Total running time of the script: ( 0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery