Skip to content

Commit

Permalink
Correction of Euler angles for triples.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavbroz committed Oct 7, 2024
1 parent 4b31a86 commit 5ba5500
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phoebe/dynamics/keplerian.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def _keplerian(times, component=None):

if j==1:
euler[0,:] = euler[1,:]
euler[1,0] += np.pi
if j>=1:
euler[j,0] += np.pi

# convert to barycentric frame
rb, vb = coord_j2b.coord_j2b(masses, rj, vj)
Expand Down

0 comments on commit 5ba5500

Please sign in to comment.