comnum.unwrap#

comnum.unwrap(phi, *, period=Ellipsis)#

Unwrap a phase sequence with a given period (numpy.unwrap(period=…)).

Parameters:
  • phi (array_like) – the phases (rad).

  • period (float) – the period of the wraps (rad).

Returns:

the unwrapped phases (float64).

Return type:

numpy.ndarray

Raises:

ValueError – for an input that is not an array of numbers of the expected shape.