Hello,
I am trying to use the k-wave toolbox to simulate the process between the beam excitation and the point sensor detection. However, I have encountered with several problems below. It would mean a lot if you can provide some of your insight.
(1)To get a pulse impulse, I try to get it in two way: first is a point source.p0 along with a point sensor, and the second way is to set a point source.p_mask with a point source.p=[1,0,0,…], together with a point sensor, too; Which of the two method is the right way to get a pulse impulse in your opinion?
(2)I want to simulate the process of a disk being irradiated by a 9ns and 1ns pulse beam respectively. The source.p_mask has been assigned to the disk. If the pulse is changed in gaussian shape and G= exp(-((kgrid.t_array-t_offset)/pulsewidth).^2)/(pulsewidth*sqrt(pi)), should I set ‘source.p=G’ or should I set ‘source.p=(the time derivation of G)’? I am a little confused by the reply on the forum.
(3)If the pulse is approximately like the rectangular pulse, could I simply set ‘source.p_mask=disk’ and ‘source.p=[1,..,1,0,0…0]’? And is the number of 1 in source.p could be calculated through ‘number=9ns/dt’, where dt is the time step?
(4)Furthermore, if I want to simulate the process of a disk being irradiated by a 9ns and 1ns pulse structural beam. Should the source.p_mask be assigned as ’ source.p_mask=disk.*structural pattern’ instead of ‘source.p_mask=disk’ on the condition that the structural beam is actually illuminated on the spatial distribution of the disk rather than temporal.
Thank you!
Yan