cupy.unwrap

cupy.unwrap(p, discont=3.141592653589793, axis=- 1)[source]

Unwrap by changing deltas between values to 2*pi complement.

Parameters
  • p (cupy.ndarray) – Input array.

  • discont (float) – Maximum discontinuity between values, default is pi.

  • axis (int) – Axis along which unwrap will operate, default is the last axis.

Returns

The result array.

Return type

cupy.ndarray

See also

numpy.unwrap()