get_body¶
-
astropy.coordinates.get_body(time, body, location=None)[source] [edit on github]¶ Get a
SkyCoordfor a body as observed from a location on Earth.Parameters: time :
TimeTime of observation
body : str
The solar system body to calculate.
The allowed values for
bodycan be found inastropy.coordinates.SOLAR_SYSTEM_BODIES.location :
EarthLocationLocation of observer on the Earth. If none is supplied, set to a Geocentric observer
Returns: skycoord :
SkyCoordCoordinate for the body