get_body_barycentric¶
-
astropy.coordinates.get_body_barycentric(time, body)[source] [edit on github]¶ Calculate the barycentric position of the solar system body
bodyin cartesian coordinates.Uses
jplephemwith the DE430 kernel.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.Returns: cartesian_position :
CartesianRepresentationBarycentric (ICRS) position of the body in cartesian coordinates