cart2pol¶
-
pyoof.
cart2pol
(x, y)[source] [edit on github]¶ Transformation from Cartesian to polar coordinates, in two dimensions.
Parameters: x :
ndarray
Grid value for the \(x\) variable.
y :
ndarray
Grid value for the \(y\) variable.
Returns: rho :
ndarray
Grid value for the radial variable.
theta :
ndarray
Grid value for the angular variable, in radians.