skued.spherical2cart

skued.spherical2cart(r, p, t)

Transform spherical coordinates into cartesian coordinates.

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

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

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

Returns

x, y, z – Cartesian coordinates.

Return type

~numpy.ndarray