ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2501.010] SpectralRadex: Spectral modeling and RADEX

SpectralRadex runs RADEX (ascl:1010.075) directly from Python and creates model spectra from RADEX outputs. The package uses F2PY (Fortran to Python interface generator) to compile a version of RADEX written in modern Fortran, most importantly dropping the use of common blocks. As a result, running a RADEX model creates no subprocesses and can be parallelized. SpectralRadex uses the RADEX calculated line opacities and excitation temperatures to calculate the brightness temperature as a function of frequency. This allows observed spectra to be modeled in Python in a non-LTE fashion.

Code site:
https://github.com/uclchem/SpectralRadex
Described in:
https://ui.adsabs.harvard.edu/abs/2021A%26A...654A..55H
Bibcode:
2025ascl.soft01010H

Views: 5

ascl:2501.010
Add this shield to your page
Copy the above HTML to add this shield to your code's website.