pysted.utils.cart2pol
- pysted.utils.cart2pol(x, y)
Convert the polar coordinates corresponding to the given cartesian coordinates.
- Parameters:
x – The \(x\) cartesian coordinate.
y – The \(y\) cartesian coordinate.
- Returns:
A tuple of the angle \(\theta\) and the lenght \(rho\).