chaosmagpy.coordinate_utils.center_azimuth

chaosmagpy.coordinate_utils.center_azimuth(phi)[source]

Project azimuth angles in degrees to the semi-open interval \((-180^\circ, 180^\circ]\).

Parameters
phindarray, float

Azimuth in degrees.

Returns
phindarray, float

Azimuth in degrees on the semi-open interval \((-180^\circ, 180^\circ]\).