Metadata-Version: 2.3
Name: ravest
Version: 0.3.0
Summary: Radial Velocity fitting, simulation and model comparison
License: MIT
Author: Ross Dobson
Author-email: 56548895+ross-dobson@users.noreply.github.com
Requires-Python: >=3.11,<3.14
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Dist: astropy (>=7.2.0,<8.0.0)
Requires-Dist: corner (>=2.2.3,<3.0.0)
Requires-Dist: emcee (>=3.1.6,<4.0.0)
Requires-Dist: harmonic (>=1.3.1,<2.0.0)
Requires-Dist: jax (>=0.8.2,<0.9.0)
Requires-Dist: matplotlib (>=3.10.8,<4.0.0)
Requires-Dist: numpy (>=2)
Requires-Dist: pandas (>=2.3.3,<3.0.0)
Requires-Dist: scipy (>=1.16.3,<2.0.0)
Requires-Dist: tinygp (>=0.3.0,<0.4.0)
Requires-Dist: tqdm (>=4.67.1,<5.0.0)
Project-URL: Homepage, https://ravest.readthedocs.io
Project-URL: Repository, https://www.github.com/ross-dobson/ravest
Description-Content-Type: text/markdown

# ravest

**Ravest is under active development, with lots of new features soon to be released for public use. This website will continue to be populated with new code and examples as they get released, so please check back soon for further updates! If you have any questions or ideas, please don't hesitate to contact me via email.**

---

**Radial Velocity fitting, simulation and mass precision estimation**
Features:
- Model exoplanets and host stars, to simulate RV data for given orbital and instrumental parameters
- Fit RV data with MCMC to explore posterior distributions for parameters - including Gaussian Processes for stellar activity
- Visualise/animate the star's orbit (coming soon!)
- Bayesian Model Comparison using [harmonic](https://astro-informatics.github.io/harmonic/) (**coming soon!**)


## Installation

### CPU-only
```bash
$ pip install ravest
```

### GPU/TPU support
Ravest requires JAX, so you may want to consult [the Jax installation docs](https://docs.jax.dev/en/latest/installation.html) if you want GPU or TPU support (tl;dr: install JAX first according to those instructions, then install Ravest on top).

## Usage

For an introduction to modelling planetary and stellar data, see the  [example modelling notebook](https://ravest.readthedocs.io/en/latest/Examples/example_model.html) for `ravest.model`.

For an example of how to fit a model to RV data, see the [example fitting notebook](https://ravest.readthedocs.io/en/latest/Examples/example_fitting.html) where we fit some ELODIE data for 51 Peg b.

For an example of how to use a Gaussian Process to mitigate stellar variability, see the [example GP notebook](https://ravest.readthedocs.io/en/latest/Examples/example_gp.html) where we use a quasiperiodic kernel on HARPS data for K2-229.

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## Acknowledgements

Ravest makes use of the following open-source packages:
- [NumPy](https://numpy.org/) for numerical computing
- [SciPy](https://scipy.org/) for scientific computing algorithms
- [Matplotlib](https://matplotlib.org/) for plotting and visualisation
- [Astropy](http://www.astropy.org/) for astronomical calculations and utilities
- [pandas](https://pandas.pydata.org/) for data manipulation
- [tqdm](https://tqdm.github.io/) for progress bars
- [emcee](https://emcee.readthedocs.io/) for MCMC sampling
- [corner](https://corner.readthedocs.io/) for visualising posterior distributions
- [tinygp](https://tinygp.readthedocs.io/) for Gaussian Process modelling, which requires [JAX](https://jax.readthedocs.io/)
- [harmonic](https://astro-informatics.github.io/harmonic/) for Bayesian evidence estimation

## License

`ravest` was created by Ross Dobson. It is licensed under the terms of the MIT license.

