skued.cart2spherical

skued.cart2spherical(x, y, z)

Transform cartesian coordinates into spherical coordinates .

Parameters
  • x (~numpy.ndarray) – Cartesian coordinates

  • y (~numpy.ndarray) – Cartesian coordinates

  • z (~numpy.ndarray) – Cartesian coordinates

Returns

  • r (~numpy.ndarray) – Radial coordinate.

  • p (~numpy.ndarray) – Polar angle coordinate in radians.

  • t (~numpy.ndarray) – Azimuthal coordinate in radians.