JUICE cruise trajectory
Contents
Note
Click here to download the full example code
JUICE cruise trajectory#
Example of interplanetary cruise trajectory.
import matplotlib.pyplot as plt
from planetary_coverage import TourConfig
from planetary_coverage.ticks import date_ticks, km_ticks
Compute the distance to Jupiter during the cruise phase#
tour = TourConfig(mk='5.1 150lb', spacecraft='JUICE', target='JUPITER', version='v400')
traj = tour['2023-04-06': '2031-06-01': '1 day']
traj
<SpacecraftTrajectory> Observer: JUICE | Target: JUPITER
- UTC start time: 2023-04-06T00:00:00.000
- UTC stop time: 2031-06-01T00:00:00.000
- Nb of pts: 2,979
fig = plt.figure(figsize=(10, 7))
ax = fig.add_subplot()
ax.plot(traj.utc, traj.dist)
ax.set_ylabel('JUICE distance to JUPITER')
ax.xaxis.set_major_formatter(date_ticks)
ax.yaxis.set_major_formatter(km_ticks)
plt.show()

Download
Total running time of the script: ( 0 minutes 1.050 seconds)