isce-framework / fringe

Fine Resolution InSAR With Generalized Eigenvectors (FRInGE)
Apache License 2.0
81 stars 42 forks source link

FRInGE to SNAPHU wrapped value translation #33

Closed forrestfwilliams closed 4 years ago

forrestfwilliams commented 4 years ago

The wrapped deformation output of FRInGE has the value range -pi to pi, but SNAPHU documentation states that input interferogram values should range from 0 to 2pi. Should FRInGE outputs be translated by pi before they are unwrapped using SNAPHU?

yunjunz commented 4 years ago

The range of [0, 2pi) should be used only if the input wrapped interferogram is not complex. fringe uses complex format as the input for SNAPHU, so the current format is correct.

forrestfwilliams commented 4 years ago

Thank you for the explanation @yunjunz !