This page contains a short description of the scripts provided in the delivery/script/ folder of CASSIS' root directory.
For more information, see the links provided in the documentation section.
These scripts have been tested with the build 7014 of CASSIS 6.5 (12-jan-2026). An orange "OK" indicates that an error occurred, but did not seem to have any impact (script runs to the end, plots apparently as expected).
| Script name | What it does | Status |
|---|---|---|
| CO_RG_LTE1.py | Line analysis, LTE, two molecules ($^{12}$CO, $^{13}$CO), one component | OK |
| CO_RG_LTE2.py | Line analysis, LTE, two molecules ($^{12}$CO, $^{13}$CO), two components, same isotopic ratio | OK |
| H2CO_RG_LTE.py | Line analysis, LTE, one molecule (p-H$_{2}$CO), two components | OK |
| H2CO_RG_Radex.py | Line analysis, Radex, one molecule (o-H$_{2}$CO), two components (one fixed) | OK |
| Inverse_PCygni.py | An inverse P-Cygni profile, using the PCygniModel function with a positive Vin | OK |
| Regular_PCygni.py | A regular P-Cygni profile, using the PCygniModel function with a negative Vin | OK |
| Script name | What it does | Status |
|---|---|---|
| CH3OH_MCMC_LTE.py | Line analysis, LTE, one molecule (CH$_3$OH), two components | OK |
| H2CO_MCMC_Radex.py | Line analysis, Radex, two molecules (o-H$_2$CO and p-H$_2$CO), two components | OK |
| Script name | What it does | Status | Remarks |
|---|---|---|---|
| Database.py | Demonstrates the use of the CASSIS database API | OK | |
| inspectsFitsFile.py | Prints header information for each HDU of a given fits file | OK | Information printed in the terminal which CASSIS was started from (not in the jython console) |
| rotationalpoint.py | Prints point values from Rotational Diagram | OK | |
| saveSpectrumToFits.py | Creates a spectrum and saves it to a fits file | OK | |
| testPartitionFunction.py | Computes the partition function of a molecule at a given temperature | OK |
rotational_diagram/custom_rd.py allows the user to produce a customized rotational diagram plot,
saved in a pdf file.
Required libraries are listed in the requirements.txt file.
The triangle_plots directory contains two scripts, plot_chi2_RG.py and Plots_MCMC.py,
that produce "triangle" or "corner" style plots
of the results of regular-grid and MCMC jython scripts, respectively.
Required libraries are listed in the requirements.txt file.
For a more details about the scripts, see the overview of CASSIS scripts.
For details on how (jython) scripting works in CASSIS, see the scripting documentation.