For any help, refer to RADIS documentation
In particular, see: calc_spectrum, Spectrum, SpectrumFactory, plot_diff
%matplotlib inline
from radis import calc_spectrum, Spectrum, plot_diff, get_version
from astropy import units as u
print('RADIS version', get_version())
# A first example.
s = calc_spectrum(1900 / u.cm, 2300 / u.cm,
molecule='CO',
isotope='1,2,3',
pressure=1.01325 * u.bar,
Tgas=1000 * u.K,
mole_fraction=0.1,
path_length=1 * u.cm
)
s.apply_slit(0.5, 'nm')
s.plot('transmittance')
# Update, or add your code below
# ...