Skip to content

Commit

Permalink
Merge pull request #21 from yumorishita/bug/cm_insar
Browse files Browse the repository at this point in the history
Fix bug with cm_insar
  • Loading branch information
yumorishita authored May 3, 2023
2 parents 9c76a2f + 76efe78 commit de5ca0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LiCSBAS_lib/LiCSBAS_tools_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def cm_insar():
rgb_ma[:, i] = np.convolve(rgb_ex[:, i], np.ones(ma_size)/ma_size, 'valid')

rgbs = rgb_ma
rgbs[rgbs>1] = 1 # values should be within 0-1 range

return LSC.from_list('cm_insar', rgbs)

Expand Down

0 comments on commit de5ca0f

Please sign in to comment.