galpy.orbit.Orbit.vlos¶
-
Orbit.
vlos
(*args, **kwargs)¶ NAME:
vlosPURPOSE:
return the line-of-sight velocity (in km/s)INPUT:
t - (optional) time at which to get vlos
- obs=[X,Y,Z,vx,vy,vz] - (optional) position and velocity of observer
- (in kpc and km/s) (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:
vlos(t) in km/s [*input_shape,nt]HISTORY:
2019-02-21 - Written - Bovy (UofT)