phi#

VectorArray.phi()[source]#

Calculate azimuth angles in rad.

For all vectors, calculates \(\arctan2(y, x)\), corresponding to the azimuth angle \(\phi\) in spherical coordinates.

Returns:
phisndarray

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