cart_to_sphere#
- pycraf.geometry.cart_to_sphere(x, y, z, broadcast_arrays=True)[source]#
Spherical coordinates from Cartesian representation.
- Parameters:
- x, y, z
Quantity Cartesian position [m]
- x, y, z
- Returns:
Notes
Unlike with the mathematical definition,
thetais not the angle to the (positive)zaxis, but the elevation above thex-yplane.