galpy.util.coords.cyl_to_spher_vec

galpy.util.coords.cyl_to_spher_vec(vR, vT, vz, R, z)[source]

NAME:

cyl_to_spher_vec

PURPOSE:

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,vtheta

HISTORY:

2020-07-01 - Written - James Lane (UofT)