def angular_distance(angle1, angle2):
    """
    angle1, angle2 , angles in -pi, pi range. 
    
    Returns the angular increment defined by these angles.
    """
    return min(abs(angle2-angle1), abs(to_0_2PI_range(angle1)-to_0_2PI_range(angle2)))
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/mathTools.py/angular_distance/swapped operands of `-`