You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the bug report but this will not be fixed. There are no in the binaries universe with an orbital period of exactly 1 day, so specifying P=1 means the user is trying to use phase units to calculate the radial velocity. This will not work because the stellar masses are calculated from P and a via's Kepler's law. The documentation is not very clear on this point so I will leave this issue open for now to remind me to update it "soon".
Ok, thanks for the explanation! I can easily work around it, but it had me stumped for a while thinking I was doing something else wrong. So a note in the docs or raising an error when using 1 day would help!
Using ellc 1.8.5 on Python 2 or 3.
The example in the API docs with a period of 1.5, works:
but switching the period to 1.0 gives arrays filled with 8.98846567e+307 for
frv1
andfrv2
(rv1
andrv2
fromflux_weighted=False
seem fine):periods of 0.99999 or 1.00001 are fine, as are other integers.
The text was updated successfully, but these errors were encountered: