ANSI-C program: unw_to_cpx_pt.c
NAME
unw_to_cpx_pt - convert unwrapped phase to an fcomplex
interferogram values (single record or all records)
SYNOPSIS
unw_to_cpx_pt <plist> <pmask> <punw>
<rec_num> <pint>
<plist> | (input) point list (int) |
<pmask> | (input) point data stack of mask values (uchar) |
<punw> | (input) point data stack of unwrapped phases (float) |
<rec_num> | record number to process (starting with 1, enter -: all records) |
<pint> | (output) complex interferogram (fcomplex) |
EXAMPLE
unw_to_cpx_pt pt_5 pmsk0 pres0 -
pres0_cpx
convert all phase values in the unwrapped phase data stack
pres0 to fcomplex representation. The output values are stored in
the stack pres0_cpx.
INSTALLATION
Source code unw_to_cpx_pt.c in ./IPTA/src, executable version
unw_to_cpx_pt in ./IPTA/bin
DESCRIPTION
unw_to_cpx_pt interprets a stack records containing floating
point numbers as phase. These values are converted to complex
(wrapped values) where the real part is given as cos(phase) and
the
imaginary part as sin(phase). These fcomplex values are
written out as records to the the pint output stack This
operation rewraps the phase if it was unwrapped
initially.
This program can be used to generate the complex interferogram
values required by the spatial phase unwrapping program mcf_pt.
The residual phase generated by def_mod_pt and multi_def_mod_pt
may have unwrapping errors. By rewrapping the phase and using
mcf_pt to unwrap, these errors can be eliminated. The input and
output records are identical.