to_polar#

ReciprocalLatticeVector.to_polar(degrees: bool = False) tuple[ndarray, ndarray, ndarray]#

Return the azimuth \(\phi\), polar \(\theta\), and radial \(r\) spherical coordinates defined as in the ISO 31-11 standard :cite:`weisstein2005spherical`.

Parameters:
degrees

If True, the given angles are returned in degrees. Default is False.

Returns:
azimuth

Azimuth angles in radians (degrees=False) or degrees (degrees=True).

polar

Polar angles in radians (degrees=False) or degrees (degrees=True).

radial

Radial values.