-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SimpleOrbit updates #22
Conversation
Codecov Report
@@ Coverage Diff @@
## main #22 +/- ##
==========================================
+ Coverage 90.61% 90.72% +0.11%
==========================================
Files 12 12
Lines 959 960 +1
==========================================
+ Hits 869 871 +2
+ Misses 90 89 -1
Continue to review full report at Codecov.
|
I'm currently setting |
Huh, just tried it out in I was probably just getting too caught-up in trying to make everything look like our previous transit curves. Since Further discussion at exoplanet-dev/exoplanet#148 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit confused- besides the mod
vs %
/rem
change, everything is all good, right?
The reason why you're seeing the cutoff is because that's at exactly 1/4 the period (right?). Exoplanet basically says "you can't have a duration > period/2, but we don't stop you from trying" and I think keeping consistency with them there is good enough. I only wrote the SimpleOrbit
because I wanted to get the limb darkening curves started and didn't want to make Keplerian orbits yet :)
Co-authored-by: Miles Lucas <[email protected]>
Co-authored-by: Miles Lucas <[email protected]>
Co-authored-by: Miles Lucas <[email protected]>
Co-authored-by: Miles Lucas <[email protected]>
Co-authored-by: Miles Lucas <[email protected]>
Yea, I think that is reasonable and that things are looking good! Definitely interested to compare to our |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like our coverage dropped just a smidge. Working on that now
Ok, things are looking green 👍🏾 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @icweaver
This PR updates the tests for
SimpleOrbit
, adds support for negative times, and re-defines whenz
is positive/negative to be in line with the new criteria introduced in ad99636:Transits.jl/src/Transits.jl
Lines 82 to 91 in eaa263b