Hello All,
Is a Python version of k-Wave possible? If so, has someone implemented it in Python? If not, I am trying to figure out the smallest possible set of functions I can implement on my own to do this.
Thanks
Hello All,
Is a Python version of k-Wave possible? If so, has someone implemented it in Python? If not, I am trying to figure out the smallest possible set of functions I can implement on my own to do this.
Thanks
Hi rehmanali1994,
I don't think so. Actually, what benefit against Matlab should that bring? No Matlab license needed? Higher speed than Matlab/C++(very unlikely)? Faster development than Matlab (questionable) / C++ (maybe)?
I have been thinking of implementing the framework in python, however, all computational kernels would still have to be implemented in C++/CUDA. Otherwise, the Python implementation will be 100x slower than Matlab!
If you wanted to code your own Python k-Wave to give it a try, I recommend to take a look at the C++ version of the code. Recoding will be very straightforward, but as I said, FFTW/MKL and C++ kernels (numpy?) would have to be used to get any reasonable execution time.
Best
Jiri
Hi Jiri,
Rewriting k-Wave in Python wouldn't make much sense as you pointed out. However being able to call the C++/CUDA k-Wave from Python to essentially remove Matlab from the equation would be very useful.
-G
You must log in to post.