Metadata-Version: 2.1
Name: line_racer
Version: 0.4.7
Summary: High resolution opacity calculation tool
Author-Email: =?utf-8?q?David_H=C3=A4gele?= <haegele@mpia.de>, =?utf-8?q?Paul_Molli=C3=A8re?= <molliere@mpia.de>
License: Copyright (c) 2025-2026 David Hägele and Paul Mollière
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Fortran
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Dist: meson-python
Requires-Dist: ninja
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: zarr>=3.0
Requires-Dist: pandas
Requires-Dist: mpi4py
Provides-Extra: full
Requires-Dist: petitradtrans>=3.0.0; extra == "full"
Description-Content-Type: text/x-rst

==========
line racer
==========

.. image:: https://img.shields.io/pypi/v/line-racer
   :target: https://pypi.org/project/line-racer/
   :alt: Pypi version

.. image:: https://img.shields.io/readthedocs/line-racer
   :target: https://line-racer.readthedocs.io/en/latest/
   :alt: documentation: https://line-racer.readthedocs.io/en/latest/

.. image:: https://img.shields.io/gitlab/license/David_Haegele/line-racer
   :target: https://gitlab.com/David_Haegele/line_racer/-/blob/main/LICENSE
   :alt: 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 <https://www.sciencedirect.com/science/article/pii/0022407382900784?via%3Dihub>`_) and a
speedup for calculating the line wings based on `Mollière et al. (2015) <https://iopscience.iop.org/article/10.1088/0004-637X/813/1/47>`_
to calculate the lines with the most intensity.
A sampling technique of the line profiles based on `Min (2017) <https://www.aanda.org/articles/aa/pdf/2017/11/aa31612-17.pdf>`_
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, <https://www.aanda.org/articles/aa/full_html/2019/07/aa35470-19/aa35470-19.html>`_
`Blain et al., 2024 <https://joss.theoj.org/papers/10.21105/joss.07028.pdf>`_), but also in other atmospheric modeling and retrieval codes.

Documentation
=============

The code documentation, installation guide, and tutorial can be found `here <https://line-racer.readthedocs.io/en/latest/index.html>`_

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.