from pywwt.jupyter import WWTJupyterWidget
from astropy.coordinates import SkyCoord, concatenate
from astropy import units as u
from astropy.time import Time
import time
wwt = WWTJupyterWidget()
wwt
wwt.set_view('Solar System')
wwt.solar_system.scale = 99
wwt.solar_system.track_object('sun')
wwt.solar_system.orbits = False
wwt.center_on_coordinates(SkyCoord(339.32980758, 20.78999814, unit=u.deg), fov=.6*u.deg)
# show three earth months of the SS in 2019
tm = Time('2019-07-01')
tm.format = 'jd'
start = tm.value
while(tm.value - start <= 92):
wwt.set_current_time(tm)
time.sleep(.1)
tm = Time(tm.value + .5, format='jd')
This notebook was prepared by O. Justin Otor with contributions from Thomas Robitaille.