galpy.util.coords.spher_to_cyl_vec¶
- galpy.util.coords.spher_to_cyl_vec(vr, vT, vtheta, theta)[source]¶
NAME:
spher_to_cyl_vec
PURPOSE:
transform vectors from spherical polar to cylindrical coordinates. vtheta is positive from pole towards equator, theta is 0 at pole
INPUT:
vr - Galactocentric spherical radial velocity
vT - Galactocentric spherical azimuthal velocity
vtheta - Galactocentric spherical polar velocity
theta - Galactocentric spherical polar angle
OUTPUT:
vR,vT,vz
HISTORY:
2020-07-01 - Written - James Lane (UofT)