Skip to content

Commit

Permalink
Temporally set unwrap matrix equal to least-squares matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Aug 2, 2024
1 parent eb0a12d commit 62099b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pygmtsar/pygmtsar/Stack_unwrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ def unwrap_matrix(self, pairs):
-1 indicating the end date, 0 if the date is covered by the corresponding
interferogram timeline, and NaN otherwise.
"""
return self.get_pairs_matrix(pairs)
#return self.get_pairs_matrix(pairs)
# revert temporally for backward compatibility
return (self.get_pairs_matrix(pairs)>=0).astype(int)

def unwrap1d(self, data, weight=None, tolerance=np.pi/2):
import xarray as xr
Expand Down

0 comments on commit 62099b8

Please sign in to comment.