Acoustics toolbox for time domain acoustic and ultrasound simulations in complex and tissue-realistic media.
Project description
k-Wave-python
This project is a Python implementation of v1.4.0 of the MATLAB toolbox k-Wave as well as an interface to the pre-compiled v1.3 of k-Wave simulation binaries, which support NVIDIA sm 5.0 (Maxwell) to sm 9.0a (Hopper) GPUs.
Mission
With this project, we hope to increase the accessibility and reproducibility of k-Wave simulations for medical imaging, algorithmic prototyping, and testing. Many tools and methods of k-Wave can be found here, but this project has and will continue to diverge from the original k-Wave APIs to leverage pythonic practices.
Getting started
A large collection of examples exists to get started with k-wave-python. All examples can be run in Google Colab notebooks with a few clicks. One can begin with e.g. the B-mode reconstruction example notebook.
This example file steps through the process of:
- Generating a simulation medium
- Configuring a transducer
- Running the simulation
- Reconstructing the simulation
Installation
To install the most recent build of k-Wave-python from PyPI, run:
pip install k-wave-python
After installing the Python package, the required binaries will be downloaded and installed the first time you run a simulation.
Development
If you're enjoying k-Wave-python and want to contribute, development instructions can be found here.
Related Projects
- k-Wave: A MATLAB toolbox for the time-domain simulation of acoustic wave fields.
- j-wave: Differentiable acoustic simulations in JAX.
- ADSeismic.jl: a finite difference acoustic simulator with support for AD and JIT compilation in Julia.
- stride: a general optimisation framework for medical ultrasound tomography.
Documentation
The documentation for k-wave-python can be found here.
Citation
@software{k-Wave-Python,
author = {Yagubbbayli, Farid and Sinden, David and Simson, Walter},
license = {GPL-3.0},
title = {{k-Wave-Python}},
url = {https://github.com/waltsims/k-wave-python}
}
Contact
e-mail wsimson@stanford.edu.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file k_wave_python-0.3.6.tar.gz
.
File metadata
- Download URL: k_wave_python-0.3.6.tar.gz
- Upload date:
- Size: 174.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063a77a53548d2c5ca8c242677ea78fea5de5a6f1be29f3fea1bbb1579e6fb75 |
|
MD5 | ebe5edf5888cb0ae6dbb1a5e3a4fc8b5 |
|
BLAKE2b-256 | 907ab2e97369f3639bdacc1b5862de7fca64aa0fbe1b657dcf9084a4e00d21d5 |
File details
Details for the file k_wave_python-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: k_wave_python-0.3.6-py3-none-any.whl
- Upload date:
- Size: 207.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cfc829b86b3e328795734e868b0767b776147170259cb6776177551d6dc5001 |
|
MD5 | a14fe5b32b6a30fde3b94f52af9d001f |
|
BLAKE2b-256 | 8f3a3c7f457f396be1e54d4bdef31c61f34ad5a06aaaa4037dcd98fd23fe9e50 |