Metadata-Version: 2.1
Name: pytmosph3r
Version: 2.3.0
Summary: Pytmosph3R, generating transmission spectra from 3D atmospheric simulations
Home-page: https://forge.oasu.u-bordeaux.fr/LAB/whiplash/pytmosph3r-2
License: BSD
Keywords: exoplanet,simulation,pytmosph3r,spectra,atmosphere,atmospheric
Author: Aurélien Falco
Author-email: aurelien.falco@u-bordeaux.fr
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Classifier: Topic :: Software Development :: Libraries
Provides-Extra: fastchem
Provides-Extra: taurex
Requires-Dist: Wand (>=0.6.13)
Requires-Dist: ai.cs (>=1.0.7)
Requires-Dist: astropy (>=5.1,<6.0) ; python_version == "3.8"
Requires-Dist: astropy (>=6.0,<7.0) ; python_version == "3.9"
Requires-Dist: astropy (>=6.1.1,<7.0.0) ; python_version >= "3.10" and python_version < "4.0"
Requires-Dist: configobj (>=5.0.8)
Requires-Dist: exo-k (>=1.3.0,<2.0.0)
Requires-Dist: numba (>=0.58) ; python_version >= "3.9" and python_version < "4.0"
Requires-Dist: numba (>=0.58,<0.59) ; python_version == "3.8"
Requires-Dist: numpy (>=1.23,<1.25) ; python_version == "3.8"
Requires-Dist: numpy (>=1.23,<2.0) ; python_version == "3.9"
Requires-Dist: numpy (>=1.23,<2.0) ; python_version >= "3.10" and python_version < "4.0"
Requires-Dist: psutil (>=5.9.5)
Requires-Dist: pyfastchem (>=3.1.1) ; extra == "fastchem"
Requires-Dist: scipy (>=1.10,<2.0) ; python_version == "3.8"
Requires-Dist: scipy (>=1.10,<2.0) ; python_version == "3.9"
Requires-Dist: scipy (>=1.14,<2.0) ; python_version >= "3.10" and python_version < "4.0"
Requires-Dist: setuptools (>=70.0) ; python_version >= "3.12" and python_version < "4.0"
Requires-Dist: taurex (>=3.1.4a0) ; extra == "taurex"
Requires-Dist: taurex-ace (>=1.0.2.dev0) ; extra == "taurex"
Requires-Dist: tqdm (>=4.66.1)
Project-URL: Documentation, https://perso.astrophy.u-bordeaux.fr/~jleconte/pytmosph3r-doc/
Project-URL: Repository, https://forge.oasu.u-bordeaux.fr/LAB/whiplash/pytmosph3r-2
Description-Content-Type: text/markdown

# Pytmosph3r

![Stable Version](https://img.shields.io/pypi/v/pytmosph3r?label=Stable)
![Python Versions](https://img.shields.io/pypi/pyversions/pytmosph3r?label=Python)
[![Poetry](https://img.shields.io/badge/Poetry-blue?logo=poetry)](https://python-poetry.org/)
[![Taskfile](https://img.shields.io/badge/Taskfile-blue?logo=task)](https://taskfile.dev/)

Pytmosph3R is a Python-3 library that computes transmission spectra based on 3D atmospheric simulations, for example performed with the LMDZ generic global climate model.

## Prerequisites

* numpy

## Installing from PyPI

Pytmosph3r is available on the PyPI repository. You can install the latest version avaible with:
```
pip install pytmosph3r
```
Don't forget to install numpy beforehand.

## Installing from source

If you intend to develop or get the latest (unreleased) developments, you can clone (and move in) the current repository and then install Pytmosph3R using:
```
pip install -e .
```

Don't forget to update `pip` if errors are raised.

To generate the documentation, you will need to install the following packages:
```
pip install nbsphinx sphinx-autoapi sphinx_rtd_theme sphinxcontrib-bibtex sphinx-argparse
conda install sphinx pandoc # installs more (required) dependencies than pip
```
You can then generate the documentation by running:
```
python setup.py doc
```
(or by simply running `make` in the `doc/` folder). The documentation will be generated in the doc/html folder (you can open the [index.html](doc/html/index.html) file to check it out using your favorite browser).

Note that you need to set the environment variable `FASTCHEM_DIR` to the location of the folder containing [FastChem](https://github.com/exoclime/FastChem) if you want to use that functionality (WIP).

## Running

To get help:
```
pytmosph3r -h
```

See the [documentation](http://perso.astrophy.u-bordeaux.fr/~jleconte/pytmosph3r-doc/index.html) for more information (read instructions in `Installation` just above to generate the doc).
