Research Article
Investigations on Shaped Mirror Systems in Quasi-Optical Mode Converters Based on Irradiance Moments Method
Algorithm 1
The unwrapped process of wrapped phase precoding.
| Input: () Wrapped phase matrix ; | | () Calculate the center number | | . | | Initialization: Unwrapped phase matrix ; | | () Update matrix ; | | () Phase unwrap in direction: | | for (; ; ) | | for ; ; | | while | | if | | add degree; | | else | | minus degree; | | end if | | end while | | end for | | for (; ; ) | | while | | if | | add degree; | | else | | minus degree; | | end if | | end while | | end for | | end for | | () Phase unwrap in direction by repeat step (); | | Output: Unwrapped phase P. |
|