Skip to main content

High resolution opacity calculation tool

Project description

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). The opacities calculated with line racer can be directly used in atmospheric modeling and retrieval codes.

Documentation

The code documentation, installation guide, and tutorial can be found at todo

Attribution

If you use line racer in your work, please cite the following articles:

License

Copyright 2025 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-0.0.12.tar.gz (228.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: line_racer-0.0.12.tar.gz
  • Upload date:
  • Size: 228.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for line_racer-0.0.12.tar.gz
Algorithm Hash digest
SHA256 88fb0a324defa47cc70dea82e58d2d86a3ba97a1ca15c06b7b5c64872ed4b1b7
MD5 51d92ac3e5e42fead5b4b5ba3d789dc0
BLAKE2b-256 4a95f5485c095a57ff02242c8b0ba63c76b8b63e4a064f4d69f73f87ddc37faf

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