Convert angles from radians to degrees. This is the same function as degrees but is preferred because its more descriptive name.
Parameters: | x : array_like
|
---|---|
Returns: | y : ndarray
|
See also
Notes
rad2deg(x) is 180 * x / pi.
Examples
>>> np.rad2deg(np.pi/2)
90.0