set kSpace Correction

Class: kwave.toolbox.AcousticSolver Package: kwave.toolbox

Compute and assign the k-space dispersion correction.

Syntax

setkSpaceCorrection(obj, dt)

Description

Computes the k-space dispersion correction for the wave equation and assigns this to obj.kappa. The calculation is based on obj.medium.soundSpeedReference. If dt is not equal to obj.prevTimeStep, the k-space correction is adjusted to account for the change in time step.

Input Arguments

  • dt - (numeric) Size of each time step.