Codes

pyaneti

pyaneti-logo

Paper 1

MNRAS arXiv:1809.04609 ascl:1707.003 pyaneti wiki

Paper 2

MNRAS arXiv:2109.140860

Pyaneti is a multi-planet radial velocity and transit fit software. The code uses Markov chain Monte Carlo (MCMC) methods with a Bayesian approach and a parallelized ensemble sampler algorithm in Fortran which makes the code fast. It creates posteriors, correlations, and ready-to-publish plots automatically, and handles circular and eccentric orbits. It is capable of multi-planet fitting and handles stellar limb darkening, systemic velocities for multiple instruments, and short and long cadence data, and offers additional capabilities.

Tne new vesion of pyaneti includes:

  • Now the code runs in python 3.
  • It runs transit fits for single transits.
  • It runs GPs and multi-GPs approaches (no tutorials provided by now).
  • It runs multi-band fits (even if each band has a different cadence).
  • Changes in plots.

This new version is available online as a beta version, you can check it here.

This code works in simililar way to pyaneti, and you should be able to compile it and run it following this tutorial. But, this new version uses the lapack and blas libraries, be sure you have them, if no, the code may not compile. You should be able to re-run all your scripts of the old pyaneti in this one (But not all the input files for this new pyaneti will run in the old one!).

Citlalicue

Citlalicue is the name of the Aztec Goddess who created the stars together with her husband Citlalatonac. This code allows you to mimic Citlalicue powers to create and manipulate stellar light curves.

The actual version of the code allows you to create synthetic stellar light curves (transits, stellar variability and white noise) and detrend light curves using Gaussian Processes (GPs).

Simulate light curves

Transits are implemented using PyTransit, while the stellar variability is added from samples of a Quasi-Periodic Kernel with covariance given by

Check the example of how to use Citlalicue to create light curves in the link example_light_curves.ipynb.

This is an example of a light curve created with Citlalicue

citlalicue created

Detrend light curves

Check the example of how to use Citlalicue to detrend light curves in the link example_detrending.ipynb.

This is an example of a detrended light curve with Citlalicue

citlalicue detrending

Citlalatonac

Citlalatonac is the name of the Aztec God who created the stars together with his wife Citlalicue. This code allows you to mimic Citlalatonac powers to create spectroscopic-like time-series of RVs and activity indicators for active stars. You can create mock spectroscopic observations assuming that the area covered by active regions on the stellar surface can be described with a function G(t). You can create RV-like time-series with stellar (that behave as G(t) + dG(t)/dt) and planetary signals (coherent Keplerians). Simultaneously, you can create time-series of photometric-like activity idicators (such as the Calcium II H & K or FWHM) or Bisector Span-like activity indicators (that behave as G(t) + dG(t)/dt). This can be useful to see how different combinations of activity indicators with RVs can allow you to recover Keplerian signals from your RV-like time-series. This is useful, for example, to write telescope proposals!

If you want to learn how to use citlalatonac, go to this link to create synthetic observations offers K2-100, an active young star.

tango

Planets perform a gravitational TANGO around their host stars which is called orbit. If the orbit inclination is close to 90°, the presence of a planet orbiting its host star can be inferred by detecting the periodic drops of stellar flux caused by the planet partly occulting the stellar disc. This phenomenon is called transit. If we observe the transits caused by planets in stellar light curves (flux vs time), we are able to decode the gravitational coreography and obtain planetary and orbital properties of the system. This code helps you to visualise how the planet's motion was looking when they were transiting the stellar disc.|

Here you can find some examples of the kind of animations you can do with TANGO

K2-141 GJ9827

exotrending

ascl:1706.001

The simple, straightforward Exotrending code detrends exoplanet transit light curves given a light curve (flux versus time) and good ephemeris (epoch of first transit and orbital period). The code has been tested with Kepler and K2 light curves and should work with any other light curve.