Hello, I just got in touch with k-Wave package. In the process of simulating photoacoustic signal, I want to take into account the non-uniform characteristics of sound speed, so I want to set different sound speed for different parts (parts are not regular). I read in K-Wave-User that loadImage can be used to load the sound speed of each grid point. But why do I use loadImage to load up some parts and then I use loadImage to load up the speed of sound for each grid point and what does that do? I think the numbers in it are all less than one. Or I misunderstood.
k-Wave
A MATLAB toolbox for the time-domain
simulation of acoustic wave fields
How to use non-uniform medium.sound_speed?
(2 posts) (2 voices)-
Posted 2 years ago #
-
Hi houxc,
medium.sound_speed
can be a matrix the same size as the grid with a different value for the sound speed (in m/s) at each grid point. You can create it in whatever way is convenient for your application.Best wishes
BenPosted 2 years ago #
Reply
You must log in to post.