scipp.atan2

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

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

Parameters
Returns

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

Seealso

All edge cases are documented here. Note that domain errors are not propagated to Python.

Return type

scipp._scipp.core.Variable