Metadata-Version: 2.4
Name: jwstark
Version: 0.0.4
Summary: Tool to reduce, extract, and analyse JWST timeseries data
Author-email: "Jayshil A. Patel" <jaspa@dtu.dk>
License-Expression: GPL-3.0-or-later
Project-URL: repository, https://github.com/Jayshil/jstark
Requires-Python: >=3.11
Description-Content-Type: text/x-rst
License-File: licenses/LICENSE.rst
License-File: licenses/TEMPLATE_LICENSE.rst
Requires-Dist: numpy>=1.24
Requires-Dist: scipy>=1.10
Requires-Dist: astropy>=6.0
Requires-Dist: matplotlib
Requires-Dist: bottleneck>=1.3
Requires-Dist: tqdm
Requires-Dist: jwst>=2.0
Provides-Extra: fitting
Requires-Dist: juliet; extra == "fitting"
Requires-Dist: setuptools; extra == "fitting"
Requires-Dist: photutils; extra == "fitting"
Requires-Dist: corner; extra == "fitting"
Requires-Dist: radvel; extra == "fitting"
Provides-Extra: jax
Requires-Dist: jax>=0.12; extra == "jax"
Requires-Dist: jaxoplanet>=0.2; extra == "jax"
Requires-Dist: blackjax>=1.7; extra == "jax"
Requires-Dist: numpyro>=0.22; extra == "jax"
Requires-Dist: tinygp>=0.3; extra == "jax"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-doctestplus; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx>=7; extra == "docs"
Requires-Dist: sphinx-automodapi; extra == "docs"
Requires-Dist: pydata-sphinx-theme; extra == "docs"
Requires-Dist: sphinx-copybutton; extra == "docs"
Requires-Dist: nbsphinx; extra == "docs"
Requires-Dist: ipython; extra == "docs"
Dynamic: license-file

jstark
======

``jstark`` reduces and analyses JWST time-series observations of transiting
exoplanets, from raw ``uncal`` files to light curves, transit and eclipse
fits, and spectra:

* **Reduction** (``jstark.reduction``): the jwst Detector1 steps plus
  group-level 1/f correction, time-domain jump detection, wavelength maps
  and per-exposure cleaning.
* **Extraction** (``jstark.extraction``): optimal spectral extraction with a
  spline PSF, and aperture and PSF-weighted photometry.
* **Fitting** (``jstark.fitting``): joint white-light and spectroscopic
  light-curve fits with `juliet <https://juliet.readthedocs.io>`_.

Supported modes: NIRSpec PRISM and gratings, NIRISS SOSS, NIRCam grism
time series, MIRI LRS and MIRI imaging.

Installation
------------

.. code-block:: bash

    pip install "jwstark[fitting] @ git+https://github.com/Jayshil/jstark.git"

    # optional: JAX samplers for the light-curve fits (NUTS, GPUs)
    pip install "jwstark[fitting,jax] @ git+https://github.com/Jayshil/jstark.git"

The package is installed as ``jwstark`` and imported as ``jstark``.

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

The quick start, user guide, API and tutorials (WASP-39 b, WASP-43 b and
GJ 3929 b) are at https://jstark.readthedocs.io.

License
-------

Copyright (c) Jayshil A. Patel, licensed under the GNU GPL v3+ (see the
``licenses`` folder). Based on the
`OpenAstronomy packaging guide <https://github.com/OpenAstronomy/packaging-guide>`_.
