Gamma DIFF&GEO: Reference Manual


sub_phase

ANSI-C programs: sub_phase.c

NAME
sub_phase - add or subtract unwrapped phase from an interferogram

SYNOPSIS
sub_phase <int-1> <unw-2> <DIFF_par> <diff_int> <int_type> [mode]

<int-1> (input) complex or unwrapped phase interferogram 1
<unw-2> (input) unwrapped phase interferogram 2 (float)
<DIFF_par> (input) DIFF/GEO parameter file
<diff_int> differential interferogram
<int_type> int-1 interferogram type
0: unwrapped phase (float)
1: complex interferogram (fcomplex)
[mode ] subtract or add unwrapped phase:
0: subtract unw-2 phase from int-1 (default)
1: add unw-2 phase to int-1

EXAMPLE
sub_phase 19960115_19960115.int 19960115_19960115.sim_unw 4903 19960115_19960115.diff 1 0

DESCRIPTION
sub_phase.

calculates a differential interferogram by directly subtracting the phase of unwrapped interferogram 2 from interferogram 1. Interferogram 1 can either be complex valued or real-valued unwrapped phase. In the case where int-1 is complex-valued, the magnitude of int-1 is copied to the differential interferogram output file. The user also has the option of adding or subtracting the unwrapped phase.

OPTIONS
Phase subtraction of two interferograms when both interferograms are complex-valued can be performed using program comb_interfs using phase scaling factors of 1.0 and -1.0.

SEE ALSO
comb_interfs.c, typedef_ISP.h, typedef_DIFF.h.


© Copyrights for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2007.
UW, CW, last change 28-Mar-2007.