Skip to main content

Acoustics toolbox for time domain acoustic and ultrasound simulations in complex and tissue-realistic media.

Project description

k-Wave-python

Support Documentation Status codecov Binder

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:

  1. Generating a simulation medium
  2. Configuring a transducer
  3. Running the simulation
  4. 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

  1. k-Wave: A MATLAB toolbox for the time-domain simulation of acoustic wave fields.
  2. j-wave: Differentiable acoustic simulations in JAX.
  3. ADSeismic.jl: a finite difference acoustic simulator with support for AD and JIT compilation in Julia.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k_wave_python-0.3.7.tar.gz (174.9 MB view details)

Uploaded Source

Built Distribution

k_wave_python-0.3.7-py3-none-any.whl (207.0 kB view details)

Uploaded Python 3

File details

Details for the file k_wave_python-0.3.7.tar.gz.

File metadata

  • Download URL: k_wave_python-0.3.7.tar.gz
  • Upload date:
  • Size: 174.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for k_wave_python-0.3.7.tar.gz
Algorithm Hash digest
SHA256 bf1b1f3679bd249935a7e07462a40b34c2c9589eb332c8350929e467118d0492
MD5 bc90b1f2e9a12aceb6e4458e8f8f3a1b
BLAKE2b-256 53edc34978b6c8449195bbfc58f47f2a002ae707dd9ed9bee11e04e67abdf42b

See more details on using hashes here.

File details

Details for the file k_wave_python-0.3.7-py3-none-any.whl.

File metadata

File hashes

Hashes for k_wave_python-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0991a931b4b40f801c37610a8de1989a4cfc6c0b7ab3af2008beac5a2973b444
MD5 a9089da39b99eea10ab91701ad2cef45
BLAKE2b-256 d04c2419d3d4cbc2308971b75924cc669f1400cde6ba852ecc53c30fcc48b1a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page