galpy.util.coords.Rz_to_coshucosv

galpy.util.coords.Rz_to_coshucosv(R, z, delta=1.0, oblate=False)[source]

NAME:

Rz_to_coshucosv

PURPOSE:

calculate prolate confocal cosh(u) and cos(v) coordinates from R,z, and delta

INPUT:

R - radius

z - height

delta= focus

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

OUTPUT:

(cosh(u),cos(v))

HISTORY:

2012-11-27 - Written - Bovy (IAS)

2017-10-11 - Added oblate coordinates - Bovy (UofT)