galpy.util.bovy_coords.galcencyl_to_vxvyvz¶
-
galpy.util.bovy_coords.
galcencyl_to_vxvyvz
(vR, vT, vZ, phi, vsun=[0.0, 1.0, 0.0])¶ NAME:
galcencyl_to_vxvyvzPURPOSE:
transform cylindrical Galactocentric coordinates to XYZ (wrt Sun) coordinates for velocitiesINPUT:
vR - Galactocentric radial velocity
vT - Galactocentric tangential velocity
vZ - Galactocentric vertical velocity
phi - Galactocentric azimuth
vsun - velocity of the sun in the GC frame ndarray[3]
OUTPUT:
vx,vy,vzHISTORY:
2011-02-24 - Written - Bovy (NYU)