Hi,

I wanted to clarify if the implementation of time reversal that k-wave uses can compensate for the affects of heterogeneous speed of sound? I have a back projection algorithm for PAT that can compensated for that and was looking to compare it to time reversal.

When I did a quick test, which just involved defining a heterogeneous speed of sound medium and homogeneous density. It appears that the time reversal algorithm doesn't compensate for sos, unless I am missing a flag or that density should also be heterogeneous.

If that is true presumably there is a term c0 (speed of sound) when you solve the differential equations so when we solve the equation at a given point could we use the associated speed of sound of that point to compensate for its affects? Perhaps that doesn't give a perfect solution, but would it at least be a good 1st order approximation?