radis package

Subpackages

Submodules

Module contents

Summary

RADIS

A code to simulate infrared spectra of molecules:

       *(((((((
        ((((((((((((              ,(((((
        ((((((((((((((((/   *((((((((((*
         ((((((((((((((((( ((((((((((((
             (((((((( (((((((((((((
                *
              @@  *@@       ..  /@@
         @@&  @@  *@@       @@  /@@  @@%
     @@  @@&  @@  *@@  @@&  @@  /@@  @@%  @@
     @@  @@&  @@  *@@  @@&  @@  /@@  @@%  @@
     @@  @@&  @@  *@@  @@&  @@  /@@  @@%  @@  (@
,@   @@  @@&  @@  *@@  @@&  @@  /@@  @@%  @@
@@   @@  @@&  @@  ,.
                           ,%&&&&&&&&&&&&&&&&&&&
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    &&&&&&&&&&&&&&&&@@@@@@&@@@&&&@@@&&&&&&&&
      &&&&&&&&&&&&&&&@@@@@@&&&&&&&&&&&&&&&
        &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
          &&&&&&&&&&&&&&&&&&&&&&&&&&&.
              &&&&&&&&&&&&&&&&&&&
                      .**.
                       &&&,
                        &&

See Source code 1, Documentation 2, Package 3

Notes

RADIS is nonequilibrium emission and absorption line-by-line code, for use by infrared spectroscopic that want to compare line databases, or experimentalist that want to fit their experimental line-of-sight spectra.

Written as a general purpose radiative solver, the code is built around the HITRAN, HITEMP and CDSD databases for molecules in their electronic ground state. Energy levels are read from tabulated databases or calculated from Dunham developments. Boltzmann, Treanor, and state specific vibrational distributions can be generated. A modular architecture makes it possible to add new species without modifications to the core code. Thus far, CO2, CO are featured for non-equilibrium calculations, and all species present in the HITRAN database are featured for equilibrium calculations. To fit experimental spectra, RADIS includes a line survey tool, an interface with a look-up database to improve fitting convergence times, and a multi-slab module with a radiative transfer equation solver to reproduce line-of-sight experiments. Validation cases against existing spectral codes and experimental results from various plasma sources are presented.

The code will soon be available under under GNU General Public License v3.0

References

1

Source code: GitHub repository

2

Online Documentation: Readthedocs.io

3

Install as a package: PyPi project

config = {'spectroscopic_constants': {'CO': 'molecules_data.json', 'CO2': 'molecules_data.json'}}[source]

RADIS configuration parameters

Notes

refactor in progress. So far there are config files in ~/radis.json (for databanks), global variables here, and a radis/config.json file. Everything should be merged in a user JSON file ~/radis.json (json) overriding the default one.

Type

dict

get_version(verbose=False, add_git_number=True)[source]

Reads __version.txt__ and retrieve version number. If add_git_number, also appends Git commit number if we’re on a gitted session.

Examples

import radis
print(radis.get_version())
>>> '0.9.17'