Skip to main content
Pypi version documentation: https://line-racer.readthedocs.io/en/latest/ licence: MIT

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

line_racer-1.3.5.tar.gz (77.0 MB view details)

Uploaded Source

File details

Details for the file line_racer-1.3.5.tar.gz.

File metadata

  • Download URL: line_racer-1.3.5.tar.gz
  • Upload date:
  • Size: 77.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for line_racer-1.3.5.tar.gz
Algorithm Hash digest
SHA256 a668c656eb1f7bd683f6fa77ccef503dc97b93d71568c9852ee83c04e7686fa1
MD5 a4fd37838bd365160243db5ea5970a49
BLAKE2b-256 67fbcc5753a39db52d96c786c3918672c11267d87fafa60fef57782ab1651fbf

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.8

1 file

This release

1.3.5 This release

1 file

1.3.3

1 file

1.3.0

1 file

1.1.2

1 file

1.1.1

1 file

1.0.1

1 file

1.0.0

1 file

0.4.8

1 file

0.4.7

1 file

0.4.5

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

0.0.12

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page