pydune.math.cartesian_to_polar#

cartesian_to_polar(x, y)[source]#

make the transformation from cartesian to polar coordinates.

Parameters:
  • x (array_like) – x-coordinate.

  • y (array_like) – y-coordinate.

Returns:

  • r (array_like) – radius coordinate.

  • theta (array_like) – angle coordinate, in degree in the range [0, 360].

Examples using pydune.math.cartesian_to_polar#

From wind data to sand fluxes and dune orientations

From wind data to sand fluxes and dune orientations