Note
Run this example online :
Get Molecular Parameters¶
Retrieve isotopologue abundances or molecular mass, based on HITRAN data,
using MolParams
See also how to use custom (non-terrestrial) abundances in the Custom Abundances example
from radis.db.molparam import MolParams
molpar = MolParams()
print("CO2 abundances for the first 2 isotopes :")
print(molpar.get("CO2", 1, "abundance")) # 1 for isotopologue number
print(molpar.get("CO2", 2, "abundance")) # 1 for isotopologue number
print("H2O molar mass for the first 2 isotopes")
print(molpar.get("H2O", 1, "mol_mass")) # 1 for isotopologue number
print(molpar.get("CO2", 2, "mol_mass")) # 1 for isotopologue number
print("Tabulated CO partition function at 296 K for the first 2 isotopes")
print(molpar.get("CO", 1, "Q_296K")) # 1 for isotopologue number
print(molpar.get("CO", 2, "Q_296K")) # 1 for isotopologue number
print("All parameters: ", list(molpar.df.columns))
print(molpar.df)
Total running time of the script: ( 0 minutes 0.000 seconds)