galpy.util.coords.cyl_to_rect

galpy.util.coords.cyl_to_rect(R, phi, Z)[source]

Convert from cylindrical to rectangular coordinates

Parameters:
  • R (float or numpy.ndarray) – Cylindrical R coordinate.

  • phi (float or numpy.ndarray) – Cylindrical phi coordinate.

  • Z (float or numpy.ndarray) – Cylindrical Z coordinate.

Returns:

Containing (X,Y,Z)

Return type:

numpy.ndarray

Notes

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