Download the HITEMP database

Database will be downloaded automatically and can be edited locally.

To compute a spectrum with the HITEMP database, see the Calculate a HITEMP spectrum example

from radis.io.hitemp import fetch_hitemp

df = fetch_hitemp("OH")
print(df.columns)

Out:

Downloading 13_HITEMP2020.par.bz2 for OH (1/1).
Download complete. Parsing OH database to /home/docs/.radisdb/hitemp/OH-13_HITEMP2020.h5
parse_local_quanta not implemented for molecules of HITRAN group 6
parse_global_quanta not implemented for molecules of HITRAN class 3

(2s)    100.0%    Parsed 57,019 / 57,019 lines. Wavenumber range 0.00-43408.75 cm-1 is complete.
(2s)    100.0%    Parsed 57,019 / 57,019 lines. Wavenumber range 0.00-43408.75 cm-1 is complete.
(2s)    100.0%
Added HITEMP-OH database in /home/docs/radis.json
Index(['id', 'iso', 'wav', 'int', 'A', 'airbrd', 'selbrd', 'El', 'Tdpair',
       'Pshft', 'globu', 'globl', 'locu', 'locl', 'ierr', 'iref', 'lmix', 'gp',
       'gpp'],
      dtype='object')

Returns:

Index(['id', 'iso', 'wav', 'int', 'A', 'airbrd', 'selbrd', 'El', 'Tdpair',
       'Pshft', 'globu', 'globl', 'locu', 'locl', 'ierr', 'iref', 'lmix', 'gp',
       'gpp'],
      dtype='object')

Columns are described in column_2004

A specific can be retrieved with the same fetch_hitemp() function. The already downloaded database will be used:

fetch_hitemp("OH", load_wavenum_min=31500, load_wavenum_max=33000, isotope="1").plot(
    "wav", "int"
)
plot hitemp OH database

Out:

<AxesSubplot:xlabel='wav'>

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

Gallery generated by Sphinx-Gallery