scipp.atan2#

scipp.atan2(*, y, x, out=None)#

Element-wise inverse tangent of y/x determining the correct quadrant.

Parameters:
Returns:

Variable – The signed inverse tangent values of y/x in the range [-π, π].

See also

https://en.cppreference.com/w/c/numeric/math/atan2:

Documentation of all edge cases. Note that domain errors are not propagated to Python.

numpy.arctan2:

The equivalent in NumPy with additional explanations.