Skip to content

Commit

Permalink
Revert "increase time step to 10% of stable limit"
Browse files Browse the repository at this point in the history
This reverts commit d83e970.
  • Loading branch information
jkosciessa committed Aug 7, 2024
1 parent 86314ef commit 0efb099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single_subject_pipeline.m
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
disp('Check stability...')
dt_stability_limit = checkStability(kgrid, kwave_medium);
if ~isinf(dt_stability_limit) && kgrid.dt > dt_stability_limit
grid_time_step = dt_stability_limit/10; % use a 10% of the limit (which is only an approximation in heterogenous media: http://www.k-wave.org/documentation/checkStability.php)
grid_time_step = dt_stability_limit/100; % use a 1% of the limit (which are only aan approximation in the heterogenous medium case: http://www.k-wave.org/documentation/checkStability.php)
[kgrid, source, sensor, source_labels] = setup_grid_source_sensor(parameters, max_sound_speed, trans_pos_final, focus_pos_final, grid_time_step);
end
end
Expand Down

0 comments on commit 0efb099

Please sign in to comment.