RADIS describes itself as ‘a fast line-by-line code for high resolution infrared molecular spectra’. My project focussed on adding support for atomic line databases to RADIS, which has up till now catered only for molecular databases. Atomic lines differ significantly from molecular lines in how they are affected by Lorentzian broadening and how non-equilibrium spectra are handled.
The main goal was adding support for the Kurucz atomic database, which is now complete. This laid the basic structure for adding new atomic databases, and a PR is now open for adding NIST.
A number of side issues have arisen throughout the course of the project and been tended to within those PRs, whereas independent issues and PRs have been opened for other issues:
- The non-equilibrium linestrength calculation for both atoms and molecules now uses the Einstein Coefficient instead of the reference linestrength, thereby allowing weaker spectra to be seen
- The issue was also raised as to whether RADIS should be automatically modifying the user config file, and if so then how. That has been tended to in the Kurucz and NIST implementation so far and could be expanded to the molecular databases too.
- fixing the removal of ‘object’ type columns from the line dataframe
- Debugging a docstring example that didn’t actually work
Prior to the project starting, a PR was also opened to allow users to specify the minimum linestrength at which to cut off weaker lines by specifying them as the weakest x% of lines.