galpy.util.bovy_coords.vxvyvz_to_galcenrect¶
-
galpy.util.bovy_coords.
vxvyvz_to_galcenrect
(vx, vy, vz, vsun=[0.0, 1.0, 0.0])¶ NAME:
vxvyvz_to_galcenrectPURPOSE:
transform velocities in XYZ coordinates (wrt Sun) to rectangular Galactocentric coordinates for velocitiesINPUT:
vx - U
vy - V
vz - W
vsun - velocity of the sun in the GC frame ndarray[3]
OUTPUT:
[:,3]= vXg, vYg, vZgHISTORY:
2010-09-24 - Written - Bovy (NYU)