Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.34 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.34 KB

JoJo

JoJo is a Python code for computing the transiting light curves of oblate planets by using Green's theorem.

Theory

By applying Green’s theorem, the two-dimensional areal integral over the occultation area can be transferred into a one-dimensional line integration over the boundary. The detailed derivation can be found in Liu et al. 2024.

Usage

The key function is compute_oblate_transit_lightcurve in JoJo.py, which returns the light curves with the given transiting parameters and time series. Now it works only for the quadratic limb-darkening law. See example.ipynb for specific usages.

For comparison, the code to generate quadratic limb-darkening light curves of spherical planets developed by Eastman, Gaudi & Agol 2013 is included in occultquad.py, you can call compute_spherical_transit_lightcurve in JoJo.py to generate the light curve of a spherical planet with the same cross-section of the oblate planet.

Future work

  • Applying other LD laws.
  • Calculate light curves for planets with rings.
  • May develop JAX version.

Reference

Liu et al. 2024