This is your online environment to compute spectra and post-process them. It comes pre-installed with
This is a notebook. Run the cell below with the ▶️ button in the toolbar.
%matplotlib inline
from radis import calc_spectrum
s = calc_spectrum(1900, 2300, # cm-1
molecule='CO',
isotope='1,2,3',
pressure=1.01325, # bar
Tgas=700, # K
mole_fraction=0.1,
path_length=1, # cm
databank='hitran', # or use 'hitemp'
verbose=False
)
s.plot() # plot the radiance by default
/srv/conda/envs/notebook/lib/python3.6/site-packages/radis/misc/warning.py:241: MissingSelfBroadeningWarning: Self-broadening temperature coefficient Tdpsel not given in database: used Tdpair instead warnings.warn(WarningType(message))
<matplotlib.lines.Line2D at 0x7f5d64b20ba8>
That's it, you computed your first spectrum !
Now have a look at more complex examples. Run and edit an existing notebook :
Or :
RADIS-lab is free to use, and can be used for teaching and research !
If using it to compute spectra with RADIS, properly cite the RADIS code. See how on the online documentation.
Also, make sure you cite the databases you use in your work (HITRAN / HITEMP). Citation keys can be found on the link above, or generated from a computed spectrum using s.cite()
.