kima-org / kima

A data analysis framework for exoplanet detection
http://www.kima.science
MIT License
3 stars 1 forks source link

Check NaNs coming out of Keplerian(s) and array output #20

Open j-faria opened 1 month ago

j-faria commented 1 month ago

A previous implementation of the keplerian function was returning NaN values for t=0 and M0=0. This has been corrected (in commit a39820f). Need to check if the other keplerian functions (like keplerian_et, etc) have the same problem. @ThomasBaycroft, would you be able to check this? There are some tests here that could help.

At the same time, I changed the binding code so that keplerian returns a numpy array, but that seems to have been reverted (link), so need to double check it as well.