Revision a52256d3d6a761bed95cfd5108c9785aa45fe840 authored by Zhang Yunjun on 23 May 2023, 13:34:29 UTC, committed by GitHub on 23 May 2023, 13:34:29 UTC
* mask: replace --threshold with --vmin/vmax

+ mask.py: replace the -t / --threshold option with the --vmin / --mask-vmin option, to be less ambiguous, as vmin includes the direction for thresholding.

+ mask.py: add --vmax / --mask-vmax option

+ utils.isce_utils.unwrap_snaphu: support 2-band corr file, by checking the number of bands for the input correlation files, and set the file format accordingly, to support both the phase sigma and complex correlation files.

+ utils.readfile.read_binary_file(): add file/dset size checking

+ view: bugfix for --mask-vmin/vmax options
   - utils.plot.read_mask(): when --mask-vmin/vmax options are specified, create mask via thresholding the 2D matrix of the mask file, instead of updating mask on top of the 2D matrix of the mask file.
1 parent f641b90
History
File Mode Size
.circleci
.github
docs
scripts
src
tests
.gitignore -rw-r--r-- 1.8 KB
.pre-commit-config.yaml -rw-r--r-- 1.8 KB
.readthedocs.yaml -rw-r--r-- 676 bytes
Dockerfile -rw-r--r-- 1.7 KB
LICENSE -rw-r--r-- 35.1 KB
MANIFEST.in -rw-r--r-- 88 bytes
mkdocs.yml -rw-r--r-- 1.4 KB
pyproject.toml -rw-r--r-- 90 bytes
requirements.txt -rw-r--r-- 583 bytes
setup.py -rw-r--r-- 7.4 KB

back to top