galpy.util.bovy_coords.galcencyl_to_XYZ

galpy.util.bovy_coords.galcencyl_to_XYZ(R, phi, Z, Xsun=1.0, Zsun=0.0)

NAME:

galcencyl_to_XYZ

PURPOSE:

transform cylindrical Galactocentric coordinates to XYZ coordinates (wrt Sun)

INPUT:

R, phi, Z - Galactocentric cylindrical coordinates

Xsun - cylindrical distance to the GC

Zsun - Sun’s height above the midplane

OUTPUT:

X,Y,Z

HISTORY:

2011-02-23 - Written - Bovy (NYU)