Skip to main content

High resolution opacity calculation tool

Project description

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 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 in the future 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 article: (still in preparation, DOI will be added here later).

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.

Project details


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.0.tar.gz (77.0 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: line_racer-1.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3e7ddfee0bac23dd6be592f622634f3f2f3946de89248d6c0a8eb2dc14564fda
MD5 3ccd7d32d7eaba4cde6bf7b521504ab2
BLAKE2b-256 3eb42ae4e5870aaed8fbc1ce5d75fc7c8cc84e4aaa81f1b57bf98a576d84b9d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page