We know that if we use four quadrant arctangent function i.e. ATAN2(Q,I) where we have wrapped phase with discontinuities of 2*PI. There are algorithms which can unwrap this phase. But there are some situations where we have to use two quadrant arctangent function i.e. ATAN(Q/I) where we have wrapped phase with discontinuities of PI. I can not find any algorithm to unwrap this phase. Can any one help me how to unwrap the phase in this case ????