galpy.util.bovy_coords.Rz_to_uv¶
-
galpy.util.bovy_coords.
Rz_to_uv
(R, z, delta=1.0, oblate=False)¶ NAME:
Rz_to_uvPURPOSE:
calculate prolate or oblate confocal u and v coordinates from R,z, and deltaINPUT:
R - radius
z - height
delta= focus
oblate= (False) if True, compute oblate confocal coordinates instead of prolate
OUTPUT:
(u,v)HISTORY:
2012-11-27 - Written - Bovy (IAS)
2017-10-11 - Added oblate coordinates - Bovy (UofT)