Example galleryΒΆ
These examples show simple calculations and tasks that can be performed with the RADIS package. Run them locally or in π¬ Radis-Lab.
Database handlingΒΆ
Download databases and plot spectroscopic constants with RADIS.
Partition Functions from spectroscopic constants
Calculate Rovibrational Energies
Explore Line Database Parameters
Scale Linestrengths of carbon-monoxide
Calculate and handle spectraΒΆ
Computation of spectra, with redondancy of some modules in the examples. Benchmark of the RADIS code can also be found in \radis\test\benchmark
.
Compare CO cross-sections from HITRAN, HITEMP, GEISA, and ExoMol
Compare CO spectrum from the GEISA and HITRAN database
Calculate a spectrum from ExoMol
Calculate a full range spectrum
Calculate a large spectrum by part
Calculate non-LTE spectra of carbon-monoxide
See populations of computed levels
Fitting experimental spectra (basics)ΒΆ
Usefull functions to upload experimental data and fit them with simple models.
Chain Editing and Lineshape Fitting a Spectrum
Fitting experimental spectra (advanced)ΒΆ
A wrapper is implemented in RADIS to fit experimental spectra with simulated spectra. We recommend starting with examples #1, #2, and #3. A legacy method is also available.
Example #2: multiparameters (T, x_CO, offset)
Example #3: non-equilibrium spectrum (Tvib, Trot, x_CO)
Legacy #1: Temperature fit of CO2 spectrum
Legacy #2: non-equilibrium CO2 (Tvib_12, Tvib_3, Trot)
Legacy vs recommended fitting examples
GPU calculationsΒΆ
Unleash the power of your GPU to speed up your calculations.
GPU Accelerated Spectra (recalc_gpu() demo)
Real-time GPU Accelerated Spectra (Interactive)
MatLab interfaceΒΆ
RADIS can be accessed from Matlab by setting up Python environment in Matlab
s = py.radis.calc_spectrum(1900,2300,molecule='CO',isotope='1,2,3',pressure=1.01325,Tgas=700,mole_fraction=0.1,path_length=1,databank='hitran');
s.apply_slit(0.5,'nm');
s.plot(show=true);
Example of using RADIS from Matlab
MiscellaneousΒΆ
Various other things that donβt fit into the other categories.