Metadata-Version: 2.4
Name: pycrires
Version: 0.4.4
Summary: Data reduction pipeline for VLT/CRIRES+
Author-email: Tomas Stolker <stolker@strw.leidenuniv.nl>, Rico Landman <rlandman@strw.leidenuniv.nl>
License-Expression: MIT
Project-URL: Documentation, https://pycrires.readthedocs.io
Project-URL: Repository, https://github.com/tomasstolker/pycrires
Project-URL: Issues, https://github.com/tomasstolker/pycrires/issues
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: <3.14,>=3.11
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: astropy
Requires-Dist: astroquery
Requires-Dist: beartype
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: openpyxl
Requires-Dist: pandas
Requires-Dist: pooch
Requires-Dist: scikit-image
Requires-Dist: scipy
Requires-Dist: skycalc_ipy
Requires-Dist: tqdm
Provides-Extra: docs
Requires-Dist: jupyter; extra == "docs"
Requires-Dist: nbconvert; extra == "docs"
Requires-Dist: nbsphinx; extra == "docs"
Requires-Dist: pandoc; extra == "docs"
Requires-Dist: pydata-sphinx-theme; extra == "docs"
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx-automodapi; extra == "docs"
Requires-Dist: sphinxawesome-theme; extra == "docs"
Provides-Extra: test
Requires-Dist: black; extra == "test"
Requires-Dist: flake8; extra == "test"
Requires-Dist: pycodestyle; extra == "test"
Requires-Dist: pylint; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Dynamic: license-file

*pycrires*
==========

Data reduction pipeline for VLT/CRIRES+

.. container::

    |PyPI Status| |Python Versions| |CI Status| |Docs Status| |Code Coverage| |Code Quality| |License|

*pycrires* is a Python wrapper for running the CRIRES+ recipes of *EsoRex*.

The pipeline organizes the raw data, creates SOF and configuration files for *EsoRex*, runs the calibration and science recipes, improves the wavelength solution, and creates plots of the images and extracted spectra.

Additionally, there are dedicated routines for the extraction, calibration, and detection of spatially-resolved objects such as directly imaged planets.

For spatially resolved objects, the telluric lines can typically be corrected with the stellar spectrum. Otherwise, it is possible to use an empirical modeling approach with the recipes of *MolecFit*. The pipeline interface of *pycrires* provides functionalities for both cases.

Documentation
-------------

Documentation can be found at `http://pycrires.readthedocs.io <http://pycrires.readthedocs.io>`_.

Attribution
-----------

Please cite `Stolker & Landman (2023) <https://ui.adsabs.harvard.edu/abs/2023ascl.soft07040S/abstract>`_ when *pycrires* is used in a publication and `Landman et al. (2023) <https://ui.adsabs.harvard.edu/abs/2024A%26A...682A..48L/abstract>`_ specifically when using the dedicated routines for spatially-resolved sources.

Contributing
------------

Contributions are welcome so please consider `forking <https://help.github.com/en/articles/fork-a-repo>`_ the repository and creating a `pull request <https://github.com/tomasstolker/pycrires/pulls>`_. Bug reports and feature requests can be provided by creating an `issue <https://github.com/tomasstolker/pycrires/issues>`_ on the Github page.

License
-------

Copyright 2026 Tomas Stolker & Rico Landman

*pycrires* is distributed under the MIT License. See `LICENSE <https://github.com/tomasstolker/pycrires/blob/main/LICENSE>`_ for the terms and conditions.

.. |PyPI Status| image:: https://img.shields.io/pypi/v/pycrires
   :target: https://pypi.python.org/pypi/pycrires

.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/pycrires
   :target: https://pypi.python.org/pypi/pycrires

.. |CI Status| image:: https://github.com/tomasstolker/pycrires/actions/workflows/main.yml/badge.svg?branch=main
   :target: https://github.com/tomasstolker/pycrires/actions/workflows/main.yml

.. |Docs Status| image:: https://img.shields.io/readthedocs/pycrires
   :target: http://pycrires.readthedocs.io

.. |Code Coverage| image:: https://codecov.io/gh/tomasstolker/pycrires/branch/main/graph/badge.svg?token=LSSCPMJ5JH
   :target: https://codecov.io/gh/tomasstolker/pycrires

.. |Code Quality| image:: https://img.shields.io/codefactor/grade/github/tomasstolker/pycrires
   :target: https://www.codefactor.io/repository/github/tomasstolker/pycrires

.. |License| image:: https://img.shields.io/github/license/tomasstolker/pycrires
   :target: https://github.com/tomasstolker/pycrires/blob/main/LICENSE
