isce-framework / tophu Goto Github PK
View Code? Open in Web Editor NEWMulti-Scale 2-D Phase Unwrapping
Home Page: https://tophu.readthedocs.io
License: Apache License 2.0
Multi-Scale 2-D Phase Unwrapping
Home Page: https://tophu.readthedocs.io
License: Apache License 2.0
from https://github.com/isce-framework/dolphin/actions/runs/7615612433/job/20740529928?pr=197
tests/test_unwrap.py:161:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/dolphin/unwrap/_unwrap.py:228: in unwrap
return multiscale_unwrap(
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/dolphin/unwrap/_tophu.py:165: in multiscale_unwrap
tophu.multiscale_unwrap(
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/tophu/_multiscale.py:647: in multiscale_unwrap
coarse_unwrapped, coarse_conncomp = coarse_unwrap(
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/tophu/_multiscale.py:339: in coarse_unwrap
igram_lores = lowpass_filter_and_multilook(
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/tophu/_multiscale.py:108: in lowpass_filter_and_multilook
coeffs2d = np.outer(*coeffs1d)
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/tophu/_multiscale.py:97: in get_filter_coeffs
return bandpass_equiripple_filter(
../../../micromamba/envs/dolphin-env/lib/python3.11/site-packages/tophu/_filter.py:173: in bandpass_equiripple_filter
coeffs = scipy.signal.remez(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (39, [0.0, 0.13333333333333333, 0.2, 0.5], [1.0, 0.0], [0.01, 0.0011506300634948063])
kwargs = {'fs': 1.0, 'grid_density': 16, 'maxiter': 25}, extra_args = 1
args_msg = 'weight=[0.01, 0.0011506300634948063]'
@functools.wraps(f)
def inner_f(*args, **kwargs):
extra_args = len(args) - len(all_args)
if extra_args <= 0:
return f(*args, **kwargs)
# extra_args > 0
args_msg = [
f"{name}={arg}"
for name, arg in zip(kwonly_args[:extra_args], args[-extra_args:])
]
args_msg = ", ".join(args_msg)
> warnings.warn(
(
f"You are passing {args_msg} as a positional argument. "
"Please change your invocation to use keyword arguments. "
f"From SciPy {version}, passing these as positional "
"arguments will result in an error."
),
DeprecationWarning,
stacklevel=2,
)
E DeprecationWarning: You are passing weight=[0.01, 0.0011506300634948063] as a positional argument. Please change your invocation to use keyword arguments. From SciPy 1.14, passing these as positional arguments will result in an error.
I've been thinking about what possible metrics would be easy to track for benchmarking/debugging unwrapping.
CPURecorder
class that I started to get basic benchmark info for different workflow stages. The code is very open to changes/reworks.Can I use the results of HYP3 to do Phase Unwrapping
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.