Back to Numerical Arrays (NumPy)
np.unwrap
Unwrap by taking the complement of large deltas with respect to the period.
Syntax
np.unwrap(p, discont?, axis?, period?)
Description
Unwrap by taking the complement of large deltas with respect to the period. This unwraps a signal by changing absolute jumps greater than discont to their 2*pi complement.
Parameters
| Name | Description |
|---|---|
| p | - Input array |
| discont(optional) | - Maximum discontinuity between values, default is pi |
| axis(optional) | - Axis along which to unwrap |
| period(optional) | - Size of the range over which the input wraps, default is 2*pi |
Returns
Promise<NDArray>