dask 2021.10.0

NotesParametersReturnsBackRef
angle(x, deg=0)

This docstring was copied from numpy.angle.

Some inconsistencies with the Dask version may exist.

Notes

Although the angle of the complex number 0 is undefined, numpy.angle(0) returns the value 0.

Parameters

z : array_like (Not supported in Dask)

A complex number or sequence of complex numbers.

deg : bool, optional

Return angle in degrees if True, radians if False (default).

Returns

angle : ndarray or scalar

The counterclockwise angle from the positive real axis on the complex plane in the range (-pi, pi] , with dtype as numpy.float64.

versionchanged

This function works on subclasses of ndarray like :None:None:`ma.array`.

Return the angle of the complex argument.

See Also

absolute
arctan2

Examples

This example is valid syntax, but we were not able to check execution
>>> np.angle([1.0, 1.0j, 1+1j])               # in radians  # doctest: +SKIP
array([ 0.        ,  1.57079633,  0.78539816]) # may vary
This example is valid syntax, but we were not able to check execution
>>> np.angle(1+1j, deg=True)                  # in degrees  # doctest: +SKIP
45.0
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

dask.array.ufunc.arctan2 dask.array.ufunc.arctan

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /dask/array/ufunc.py#296
type: <class 'function'>
Commit: