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