phi#

Vector.phi()[source]#

Calculate azimuth angle in rad.

Calculates \(\arctan2(y, x)\), corresponding to the azimuth angle \(\phi\) in spherical coordinates.

Returns:
phifloat

The azimuth angle in rad within (−π, π].