UnWrap1D

Advanced Analysis Library Only

AnalysisLibErrType UnWrap1D (double phase[], int numberOfElements);

Purpose

Unwraps phase information obtained from ToPolar1D so that the phase information exhibits a linear and continuous curve when plotted.

UnWrap1D overwrites the input array phase.

Parameters

Input
Name Type Description
numberOfElements integer Number of elements to convert.
Output
Name Type Description
phase double-precision array On input, an array of discontinuous phase values.

The values are in the range [– Π : Π]

On output, an array of continuous phase values.

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.