Acoustics toolbox for time domain acoustic and ultrasound simulations in complex and tissue-realistic media.
Project description
k-wave-python
A Python implementation of k-Wave — an acoustics toolbox for time-domain simulation of acoustic wave fields. Includes a pure NumPy/CuPy solver (backend="python") and an interface to the pre-compiled k-Wave C++ binaries (backend="cpp") with NVIDIA GPU support (sm 5.0–9.0a).
Mission
Increase the accessibility and reproducibility of k-Wave simulations for medical imaging, algorithmic prototyping, and testing.
Getting started
A collection of examples covers common simulation scenarios. Run any example locally:
uv run examples/ivp_homogeneous_medium.py
No GPU required — all examples run on CPU with NumPy.
Installation
Using uv (recommended):
uv add k-wave-python
Or with pip:
pip install k-wave-python
Development
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 = {Yagubbayli, 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 walter.a.simson@gmail.com.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file k_wave_python-0.6.1.tar.gz.
File metadata
- Download URL: k_wave_python-0.6.1.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c82b46fede3755d7dd284aa0994510752017923839f58e0f1595864718509927
|
|
| MD5 |
8ecc845eddccc5fb68c680f608902992
|
|
| BLAKE2b-256 |
eec34720ebf1871cff0b4a8a7abc461a1ed84fa50acf0961fed8e1b0c9748c68
|
File details
Details for the file k_wave_python-0.6.1-py3-none-any.whl.
File metadata
- Download URL: k_wave_python-0.6.1-py3-none-any.whl
- Upload date:
- Size: 217.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2eb6d7d16c1704d0c7e6549179bb978871ce17e05d9396343f0dd4f536264a9
|
|
| MD5 |
35a6e89d730231a7633e3c5aadb45fac
|
|
| BLAKE2b-256 |
7e44f1115ef0e16bdb15ae7607d7798e691f4ee15fc068b3981df6dc32174743
|