-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jWave vs kWave unit tests #33
Conversation
Codecov Report
@@ Coverage Diff @@
## main #33 +/- ##
==========================================
+ Coverage 43.76% 47.75% +3.99%
==========================================
Files 15 15
Lines 866 936 +70
==========================================
+ Hits 379 447 +68
- Misses 487 489 +2
Continue to review full report at Codecov.
|
Matlab test update
Closes #28 |
jwave/acoustics/time_varying.py
Outdated
@@ -215,53 +216,69 @@ def simulate_wave_propagation( | |||
checkpoint: bool = False, | |||
params = None, | |||
smooth_initial = True, | |||
return_params = False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm removing this input, as the optional output of the parameters is already handled by jaxdf within an opeator decorator.
This pull request implements a systematic test of
time_varying.py
, in particular thesimulate_wave_propagation
solver. A variety of simulations are setup:The tests are implemented in two files:
test_kwave_ivp
for initial value problems (p0 source)test_kwave_tvsp
for time varying mass sources (p source)On a Linux or Mac system with MATLAB installed and accessible via the
matlab
command, and k-Wave on the default path, the test scripts will also run the examples in k-Wave to generate the test data.As part of the development of the tests, and number of bug fixes where implemented (see also #36).
Closes #31
Closes #34