line racer
line racer: An easy-to-use Python package for calculating (high-resolution) opacities from molecular and atomic line lists for atmospheric modeling
Welcome to the line racer repository! line racer is a Python package designed to compute high-resolution opacities from molecular and atomic line lists. It combines two methods to calculate the line profiles: A direct calculation method using the Humlicek algorithm (Humlícek, 1982) and a speedup for calculating the line wings based on Mollière et al. (2015) to calculate the lines with the most intensity. A sampling technique of the line profiles based on Min (2017) for an ultra fast calculation of the lower intensity lines. The opacities can directly be output in the pRT format used by the petitRADTRANS code (Mollière et al., 2019, Blain et al., 2024), but also in other atmospheric modeling and retrieval codes.
Documentation
The code documentation, installation guide, and tutorial can be found here.
Attribution
If you use line racer in your work, please cite the following zenodo repository:
@software{hagele_2026_20367386,
author = {Hägele, David B. and
Mollière, Paul and
Min, Michiel},
title = {line racer: Rapid Calculation of Exoplanetary
Radiative Opacities
},
month = jun,
year = 2026,
publisher = {Zenodo},
version = {1.3.3},
doi = {10.5281/zenodo.20367386},
url = {https://doi.org/10.5281/zenodo.20367386},
}
License
Copyright 2025-2026 David Hägele and Paul Mollière
line racer is available under the MIT license. See the LICENSE file for more information.
Metadata
Release files for line-racer 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| line_racer-1.4.0.tar.gz | 77.1 MB | Details |
Release files / line_racer-1.4.0.tar.gz
| Download URL | line_racer-1.4.0.tar.gz |
|---|---|
| Size | 77.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f35ef3003f9d9dc7a341e5b1dbbcbce9d06f2b080ab564e3daf7b5d745349e
|
|
BLAKE2b-256 checksum How to use checksums |
5d223dec6fbca3184ad0fa8b45eaa3c88fe1055d6179a520de02ab680802838e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|