galpy.orbit.Orbit.SkyCoord¶

Orbit.SkyCoord(*args, **kwargs)

NAME:

SkyCoord

PURPOSE:

return the positions and velocities as an astropy SkyCoord

INPUT:

t - (optional) time at which to get the position

obs=[X,Y,Z] - (optional) position of observer (in kpc)
(default=Object-wide default) OR Orbit object that corresponds to the orbit of the observer Y is ignored and always assumed to be zero

ro= distance in kpc corresponding to R=1. (default=Object-wide default)

vo= velocity in km/s corresponding to v=1. (default=Object-wide default)

OUTPUT:

SkyCoord(t) [*input_shape,nt]

HISTORY:

2019-02-21 - Written - Bovy (UofT)