skued.cart2polar

skued.cart2polar(x, y)

Transform cartesian coordinates to polar coordinates.

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

  • y (~numpy.ndarray) – Cartesian coordinates.

Returns

r, t – Radius and polar angle coordinates. Polar angle coordinates are in radians.

Return type

~numpy.ndarray