Repository navigation
poliastro.twobody.orbit cleanup - #1430
Conversation
43cebe0 to
56a43cb
Compare
Codecov Report
@@ Coverage Diff @@
## main #1430 +/- ##
==========================================
+ Coverage 91.67% 92.13% +0.45%
==========================================
Files 82 90 +8
Lines 4350 4375 +25
Branches 427 421 -6
==========================================
+ Hits 3988 4031 +43
+ Misses 272 256 -16
+ Partials 90 88 -2
Continue to review full report at Codecov.
|
cd944e8 to
6b4065f
Compare
It was about time!
Continuation of poliastro#1026.
6b4065f to
b95200a
Compare
Next in line: astrojuanlu#12 |
|
Reviewing this 🔎 |
jorgepiloto
left a comment
There was a problem hiding this comment.
This was a heavy PR but many things got simplified. Amazing work @astrojuanlu 👏🏽
|
|
||
|
|
||
| @jit | ||
| def circular_velocity(k, a): |
There was a problem hiding this comment.
Which is the reason behind shipping this to poliatro.core.elements?
There was a problem hiding this comment.
I'm using that module for small Astrodynamics formulas, I think it fits there better. Probably we should find a better module name for the other functions in the future.
|
Thanks a lot @jorgepiloto ! 🚀 |
Generally working towards #1425, but did a lot of other things along the way. Each commit could be reviewed separately.
Summary:
np.dotand replace them by@finally!Orbit.from_body_ephemat last!Orbitclassmethods to separate functionsManaged to remove ~200 lines from
orbit.py, but we can do much more.Orbit.frozenin particular is a bit daunting.