-
Notifications
You must be signed in to change notification settings - Fork 34
obsutil Sketches
Michael Mommert edited this page Aug 28, 2017
·
2 revisions
A collection of tools for observation planning of small body observations.
from sbpy.Data import Ephemerides
comet = Ephemerides.from_mpc('249P', '568',
{'start': '2018-10-01',
'stop':'2018-10-05',
'step':'20m'},
skip_daylight=True)
asteroid = Ephemerides.from_mpc('ceres', '568',
{'start': '2018-10-01',
'stop':'2018-10-05',
'step':'20m'},
skip_daylight=True)
# plot observability and show on screen
from sbpy import ObsUtil as obs
plot = obs.plot([comet, asteroid])
plot.show()
# create observing script
script = obs.script([comet, asteroid])
# create finder charts and save to file
chart = obs.chart(comet, invert=True,
show_track=True,
show_uncertainties=True,
show_grid=True,
show_vectors=True)
chart.savefig('249P.png')