bmorris3 / kelp

Photometric phase curves of exoplanets
https://kelp.readthedocs.io/en/latest/
7 stars 2 forks source link

Fixing case where abs(xi)==pi in cython #30

Closed bmorris3 closed 3 years ago

bmorris3 commented 3 years ago

This implements the fix suggested in #27 by @delinea for the Cython implementation, where there are nonsense values returned by Equation 11 of HMK 2021 when the planet is exactly between the observer and the star.

Fixes #27.