galpy.util.bovy_coords.vRvz_to_pupv

galpy.util.bovy_coords.vRvz_to_pupv(vR, vz, R, z, delta=1.0, oblate=False, uv=False)[source]

NAME:

vRvz_to_pupv

PURPOSE:

calculate momenta in prolate or oblate confocal u and v coordinates from cylindrical velocities vR,vz for a given focal length delta

INPUT:

vR - radial velocity in cylindrical coordinates

vz - vertical velocity in cylindrical coordinates

R - radius

z - height

delta= focus

oblate= (False) if True, compute oblate confocal coordinates instead of prolate

uv= (False) if True, the given R,z are actually u,v

OUTPUT:

(pu,pv)

HISTORY:

2017-11-28 - Written - Bovy (UofT)