obspy.signal.util.az2baz2az

az2baz2az(angle)[source]

Helper function to convert from azimuth to backazimuth or from backazimuth to azimuth.

Parameters

angle (float or int) – azimuth or backazimuth value in degrees between 0 and 360.

Returns

corresponding backazimuth or azimuth value in degrees.