Unwrap a phase angle to give a continuous curve
Parameters: | X : array_like
period : number
|
---|---|
Returns: | Y : array_like
|
Examples
>>> import numpy as np
>>> X = [5.74, 5.97, 6.19, 0.13, 0.35, 0.57]
>>> unwrap(X, period=2 * np.pi)
[5.74, 5.97, 6.19, 6.413185307179586, 6.633185307179586, 6.8531853071795865]