UnWrap1D
Advanced Analysis Library Only
AnalysisLibErrType UnWrap1D (double phase[], ssize_t 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 | ssize_t | Number of elements to convert. |
| Output | ||
| Name | Type | Description |
| phase | double [] | 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. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 3.1 and later
