Closed talg2324 closed 8 months ago
Hey! Great points, thank you for taking time to share them with us! We will make sure to discuss them in the next discussion meeting (happens on Thursdays).
For the PS-part, I think @waltsims can comment the best.
Hey,
Thanks for the feedback! On points 4/5 build_channel_data
and the beamforming code are currently a catch-all for reconstruction code. k-wave-python was only intended to support running simulations, and not to be a beamforming project. In order to have an example early on, we hid the beamforming code in build_channel_data
which depends on another project, uff-reader. I agree this part of the code could be improved but I think it would better to house ultrasound reconstruction in another project. I expect to see some new projects being published this conference season that might do the trick.
As far as the as the imaging coordinate directions, I'm not sure if I understand correctly, but I'll give it a shot. In k-wave, x is defined as the axial direction, or the direction of wave propagation, y is defined as the azimuthal direction across the face of the transducer, and z is defined as the elevational direction. A diagram can be found on page 79 of the k-wave-toolbox user manual.
You might be referring to some of the code in build_channel_data function which as previously mentioned used the uff axis convention?
I hope this helps. I agree with many of your suggestions and will try to merge them in. If you want to contribute, a PR would be welcomed as @faridyagubbayli already mentioned.
Best, Walter
Thanks for PR #196, which addressed many of these suggestions. The beamforming could still stand to be updated.
Hey guys, awesome project. Really enjoying working with it. I have a few small suggestions for you that I think would improve the out-of-the-box usage. I'd rather not fork your project as I'd like to keep benefiting from updates you make.
proc = subprocess.run(command, stdout=subprocess.DEVNULL, shell=True) return_code = proc.returncode
PS- did I understand correctly that the cartesian dimensions (x, y, z) in the simulation grid correspond to the ultrasound imaging directions (z, x, y)?
Thanks anyway and again great work.