def GetAltAzHESS(coords, date='2016-06-06 00:00:00'):
'''
Get AltAz of a source at a given date for the HESS site
Parameters
----------
coords : CoordinatesHandler object
date : date for which the results is valid. Format is YYYY-MM-DD HH:MM:SS
'''
#Site Location
print "At HESS Location at ",date
location = EarthLocation(lat = '-23d16m18s' , lon = '16d30m00s', height = 1800*u.m)
time = Time(date, format='iso', scale='utc')
return _GetAltAz(coords,location,time)
评论列表
文章目录