galpy.util.coords.cyl_to_spher_vec¶
-
galpy.util.coords.
cyl_to_spher_vec
(vR, vT, vz, R, z)[source]¶ NAME:
cyl_to_spher_vecPURPOSE:
transform vectors from cylindrical to spherical coordinates. vtheta is positive from pole towards equator.INPUT:
vR - Galactocentric cylindrical radial velocity
vT - Galactocentric cylindrical tangential velocity
vz - Galactocentric cylindrical vertical velocity
R - Galactocentric cylindrical radius
z - Galactocentric cylindrical height
OUTPUT:
vr,vT,vthetaHISTORY:
2020-07-01 - Written - James Lane (UofT)