Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed mismatch between DataSet labels and JPL/Horizons-retrieved ephermides
  • Loading branch information
daminton committed Aug 27, 2021
1 parent 2ff7ebe commit 4d53903
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/swiftest/swiftest/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def solar_system_horizons(plname, idval, param, ephemerides_start_date, ds):
p10.append(pldata[key].vectors()['vx'][0] * VCONV)
p11.append(pldata[key].vectors()['vy'][0] * VCONV)
p12.append(pldata[key].vectors()['vz'][0] * VCONV)
pvec = np.vstack([p1, p2, p3, p4, p5, p6])
pvec = np.vstack([p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12])

if ispl:
Rpl.append(planetradius[key] * DCONV)
Expand Down Expand Up @@ -259,7 +259,6 @@ def solar_system_horizons(plname, idval, param, ephemerides_start_date, ds):
pvec = np.vstack([pvec, Ip1, Ip2, Ip3, rotx, roty, rotz])
else:
plab = tlab.copy()
pvec = np.vstack([pvec, p7, p8, p9, p10, p11, p12])

if idval is None:
plid = np.array([planetid[key]], dtype=int) + 1
Expand Down

0 comments on commit 4d53903

Please sign in to comment.