Skip to content

California-Planet-Search/radvel

Repository files navigation

RadVel

General Toolkit for Modeling Radial Velocities.

CI Coverage Status Documentation Status PyPI version PyPI downloads ASCL:1801.012

Powered by emcee Powered by AstroPy Powered by celerite

Attribution

Written by BJ Fulton, Erik Petigura, Sarah Blunt, and Evan Sinukoff. Fulton et al. (2018)

Please cite the original publication and the following DOI if you make use of this software in your research. DOI

Installation

Quick Install

pip install radvel

Development Install

git clone https://github.com/California-Planet-Search/radvel.git
cd radvel

# Install problematic dependencies via conda (recommended for macOS)
conda install pytables h5py

# Install in development mode
pip install -e .

System Requirements

  • Python: 3.8, 3.9, 3.11, 3.12
  • LaTeX: Required for report generation (install TexLive or similar)
  • macOS users: Consider using conda for pytables and h5py to avoid compilation issues

Documentation

Documentation is available here

Features

With RadVel you can

  • Optimize
  • Run MCMC
    • leverages the emcee package for MCMC exploration of the posterior probability distribution
  • Visualize
    • creates quicklook summary plots and statistics

RadVel is

  • Flexible
    • fix/float parameters that are indexed as strings (emulates lmfit API)
    • convert between different parameterizations e.g. e omega <-> sqrtecosw sqrtesinw
    • incorporate RVs from multiple telescopes
  • Extensible
    • Object-oriented programing makes adding new likelihoods, priors, etc. easy
  • Scriptable
    • Code can be run through a convenient Command-line Interface (CLI)
  • Fast
    • Kepler's equation solved in C (slower Python solver also included)
    • MCMC is multi-threaded

Tutorials

Follow examples in

  • radvel/docs/tutorials/SyntheticData.ipynb
  • radvel/docs/tutorials/K2-24_Fitting+MCMC.ipynb
  • radvel/docs/tutorials/164922_Fitting+MCMC.ipynb
  • radvel/docs/tutorials/GaussianProcess-tutorial.ipynb

About

General Toolkit for Modeling Radial Velocity Data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 20

Languages