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
Instead of using Orbit.propagate, poliastro.twobody.propagation.propagate offers a lower level interface that accepts an array of times, and calls the propagator in a tight loop:
This is just some low hanging fruit I noticed while skimming at the code, but there are probably other things that could be optimized, some of which are already in our roadmap. Would be happy to collaborate with the project :)
Hi! I'm the creator and lead developer of poliastro, one of spacetech-ssa dependencies. I am thrilled to see it being used in this project 😍
I noticed that
predict_orbitis using.applyon a function that repeatedly calls thecowellmethod for a given value ofelapsed_seconds:spacetech-ssa/orbit_prediction/orbit_prediction/physics_model.py
Lines 88 to 105 in 66ac04e
spacetech-ssa/orbit_prediction/orbit_prediction/physics_model.py
Line 154 in 66ac04e
Instead of using
Orbit.propagate,poliastro.twobody.propagation.propagateoffers a lower level interface that accepts an array of times, and calls the propagator in a tight loop:https://docs.poliastro.space/en/stable/api/safe/twobody/propagation.html#poliastro.twobody.propagation.propagate
This is just some low hanging fruit I noticed while skimming at the code, but there are probably other things that could be optimized, some of which are already in our roadmap. Would be happy to collaborate with the project :)