.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/calculate_partition_functions_from_tips.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_partition_functions_from_tips.py: ============================= Partition Functions from TIPS ============================= By default and for equilibrium calculations, RADIS calculates Partition Functions using the TIPS program ([TIPS-2020]_) through [HAPI]_. These partition functions can be retrieved with the :py:class:`~radis.levels.partfunc.PartFuncTIPS` class:: See Also -------- :py:class:`~radis.levels.partfunc.PartFunc_Dunham` .. GENERATED FROM PYTHON SOURCE LINES 15-24 .. code-block:: default from radis.db.classes import get_molecule_identifier from radis.levels.partfunc import PartFuncHAPI M = get_molecule_identifier("N2O") iso = 1 Q = PartFuncHAPI(M, iso) print(Q.at(T=1500)) .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.000 seconds) .. _sphx_glr_download_auto_examples_calculate_partition_functions_from_tips.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_partition_functions_from_tips.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: calculate_partition_functions_from_tips.ipynb `