galpy.util.coords.spher_to_cyl¶
- galpy.util.coords.spher_to_cyl(r, theta, phi)[source]¶
Convert from spherical to cylindrical coordinates
- Parameters:
r (float or numpy.ndarray) – Spherical r coordinate.
theta (float or numpy.ndarray) – Spherical theta coordinate.
phi (float or numpy.ndarray) – Spherical phi coordinate.
- Returns:
Containing (R,z,phi)
- Return type:
numpy.ndarray
Notes
2016-05-20 - Written - Aladdin