numpy.unwrap
- numpy.unwrap(p, discont=None, axis=-1, *, period=6.283185307179586)
Unwrap by taking the complement of large deltas with respect to the period.
This unwraps a signal p by changing elements which have an absolute difference from their predecessor of more than
max(discont, period/2)to their period-complementary values.For the default case where period is and is , this unwraps a radian phase such that adjacent differences are never greater than by adding for some integer .