In [1]:
import trajectory_utils as tu
import matplotlib.pyplot as plt
%matplotlib inline
%load_ext autoreload
%autoreload 2
In [2]:
radius = 30 #in AU
inclination = 10 #in degrees
max_time = 1. #in years
time_step = .001 #in years
theta_0 = 0. #Object's progress along orbit in degrees.
#Note: Would be more useful to have angle from opposition probably. Will update in future.
fig = plt.figure(figsize=(16,8))
fig.add_subplot(1,2,1)
tu.plot_ang_vel(radius, inclination, max_time, time_step, theta_0)
fig.add_subplot(1,2,2)
tu.plot_trajectory(radius, inclination, max_time, time_step, theta_0)
In [3]:
radius = 30 #in AU
inclination = 10 #in degrees
max_time = 1. #in years
time_step = .001 #in years
theta_0 = 15. #Object's progress along orbit in degrees.
#Note: Would be more useful to have angle from opposition probably. Will update in future.
fig = plt.figure(figsize=(16,8))
fig.add_subplot(1,2,1)
tu.plot_ang_vel(radius, inclination, max_time, time_step, theta_0)
fig.add_subplot(1,2,2)
tu.plot_trajectory(radius, inclination, max_time, time_step, theta_0)
In [ ]: