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
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
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 :)
The text was updated successfully, but these errors were encountered:
@astrojuanlu Thanks for the tip and thank you for creating poliastro. Sorry I let this issue fall through the cracks! I will take a look soon at your suggestion.
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_orbit
is using.apply
on a function that repeatedly calls thecowell
method 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.propagate
offers 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 :)
The text was updated successfully, but these errors were encountered: