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 interface to the k-Wave simulation binaries.
The documentation for this Python interface is compiled in a Read the Docs page here
Installation
pip install k-wave-python
Currently, we are looking for beta testers on Windows. If you would like to get involved, open an issue letting us know, or message us on the k-Wave-python Telegram chat.
Getting started
After installation, run the B-mode reconstruction example in the examples
directory of the repository:
Reuirements
git clone https://github.com/waltsims/k-wave-python
pip install -r example_requirements.txt
python3 examples/bmode_reconstruction_example.py
This example file steps through the process of:
- Generating a simulation medium
- Configuring a transducer
- Running the simulation
- Reconstructing the simulation
This example expects an NVIDIA GPU by default to simulate with k-Wave.
To test the reconstruction on a machine without a GPU, set RUN_SIMULATION
on line 14 of bmode_reconstruction_example.py
to False
and the exmaple will run with pre-computed data.
Development
If you're enjoying k-Wave-python and want to contribute, development instructions can be found here.
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 Distributions
Built Distribution
File details
Details for the file k_Wave_python-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: k_Wave_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 288.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10891f5437839b972178b186235ae49da22458a5e2f4348d851656def017873 |
|
MD5 | d54113cc0ac0959e5c99e63300132e4b |
|
BLAKE2b-256 | 61ddb29bcfd9767435441c20195d423598dc9de02478585b7df701e6f0ce7340 |