def get_azimuth(angle):
    """Converts headings represented by angles in degrees  180 to -180to Azimuth Angles.
    Will also normalize any number to 0-360 """
    if angle <= 180 and angle > 90:
        azimuth_angles = 360.0 - (angle - 90)
    else:
        azimuth_angles = abs(angle - 90)
    if abs(azimuth_angles) > 360:
        azimuth_angles % 360
    return azimuth_angles