Question: what does np unwrap do?
Answer: numpy. unwrap(p, discont=3.141592653589793, axis=-1) function helps user to unwrap a given array by changing deltas to values of 2*pi complement. It unwraps radian phase p by changing absolute jumps greater than discont to their 2*pi complement along the given axis. Result is an unwraped array.