Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1579 from othmar-humboldt/patch-1
Browse files Browse the repository at this point in the history
Update change_ecc_inc.py to allow for incl. reduction
  • Loading branch information
astrojuanlu committed Sep 11, 2022
2 parents 88c16fe + b7c0ba3 commit 0583b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poliastro/core/thrust/change_ecc_inc.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def a_d(t0, u_, k_):
np.cos(nu)
) # The sign of ß reverses at minor axis crossings

w_ = cross(r_, v_) / norm(cross(r_, v_))
w_ = (cross(r_, v_) / norm(cross(r_, v_))) * np.sign(inc_f - inc_0)
accel_v = f * (np.cos(beta_) * thrust_unit + np.sin(beta_) * w_)
return accel_v

Expand Down

0 comments on commit 0583b33

Please sign in to comment.