Hi all!
Sorry if this is a simple question, but is there a way to move user-inputted source (a 3D array) so that the start of the source is at the edge of the computational grid?
Thank you very much!
Hi all!
Sorry if this is a simple question, but is there a way to move user-inputted source (a 3D array) so that the start of the source is at the edge of the computational grid?
Thank you very much!
Not sure I follow exactly - the position of the source is defined by the source mask, so you can make sure that this is against the edge of the grid (be careful to set 'PMLInside', false
if you're doing this though).
Hi Bradley,
Thank you for the help! I apologize if I was not clear.
I have a cylindrical volume that when imported into k-Wave, it is automatically placed at the center of the kGrid. I would like to move the source so that one end of the cylinder is at the edge of the computational grid.
Thank you very much!
Could you use something like circshift
in MATLAB? There's not automatic way I'm afraid.
You must log in to post.