openlifu
openlifu is a toolbox for planning and controlling focused ultrasound
treatments. It generally replicates the functionality developed in the MATLAB
open-TFUS toolbox.
Installation
Requirements
Python 3.10-3.12.
We recommend installing openlifu in a virtual environment.
Recommended install
For most users, install the application dependency set:
python -m pip install "openlifu[app]"
This installs the core package plus dependencies for database and volume I/O,
simulation, mesh and photogrammetry workflows, cloud sync, and hardware
communication support via openlifu-sdk.
Minimal install
If you only need the lightweight core package:
python -m pip install openlifu
The minimal install does not include optional dependencies for simulation, DICOM/NIfTI volume loading, mesh/VTK workflows, photogrammetry, cloud sync, or hardware communication.
Install selected features
You can also install only the optional dependency groups you need:
python -m pip install "openlifu[sim,db]"
python -m pip install "openlifu[io]"
python -m pip install "openlifu[jupyter]"
Useful extras include:
app: recommended application setsim: k-Wave simulation supportdb: DICOM/NIfTI and database volume supportmesh: mesh and VTK supportphotogrammetry: photo-based mesh reconstruction dependenciesio: hardware communication dependencies, includingopenlifu-sdkcloud: cloud sync dependenciesjupyter: notebook support
Installing Meshroom
If you are using openlifu.nav.photoscan to reconstruct meshes from photo
collections, then you will need to set up Meshroom 2025.1.0.
Ubuntu
Download and Extract
-
Download Meshroom 2025.1.0 for Linux from https://github.com/alicevision/Meshroom/releases/tag/v2025.1.0.
-
Extract the downloaded archive:
tar -xvf Meshroom-2025.1.0-Linux.tar.gz
Add Meshroom to PATH
Temporary (Current Session) Run:
export PATH="<path-to-meshroom>/Meshroom-2025.1.0-Linux:$PATH"
Replace <path-to-meshroom> with the actual path where Meshroom was extracted.
Permanent (Persistent Across Sessions) For Bash users:
echo 'export PATH="<path-to-meshroom>/Meshroom-2025.1.0-Linux:$PATH"' >> ~/.bashrc
source ~/.bashrc
Windows
Download and Extract
- Download Meshroom 2025.1.0 for Windows from https://github.com/alicevision/Meshroom/releases/tag/v2025.1.0.
- Extract the downloaded archive to a directory of your choice.
Add Meshroom to PATH
- Open Edit environment variables for your account from the Start menu.
- In the Environment Variables window, under User variables, select Path and click Edit.
- Click New, and add the path to the folder containing
Meshroom.exe. - Click OK to save the changes.
Enable GPU Acceleration
To ensure Meshroom uses your NVIDIA GPU:
- Open NVIDIA Control Panel.
- In the left sidebar under 3D Settings, click Manage 3D settings.
- Go to the Program Settings tab.
- Click Add, then browse to and select
Meshroom.exefrom the folder where you extracted Meshroom. - Under Select the preferred graphics processor for this program, choose High-performance NVIDIA processor.
- Click Apply.
Getting Sample Data
A sample database for testing and examples is maintained in the openlifu-sample-database repository. Its files are tracked with Git LFS, so first install Git LFS.
Then check out the tagged version of the sample database that is compatible with
this version of openlifu:
git clone --depth 1 --branch openlifu-v0.20.0 https://github.com/OpenwaterHealth/openlifu-sample-database.git
cd openlifu-sample-database
git lfs pull
Disclaimer
CAUTION - Investigational device. Limited by Federal (or United States) law to investigational use. The system described here has not been evaluated by the FDA and is not designed for the treatment or diagnosis of any disease. It is provided AS-IS, with no warranties. User assumes all liability and responsibility for identifying and mitigating risks associated with using this software.
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 openlifu-0.21.1.tar.gz.
File metadata
- Download URL: openlifu-0.21.1.tar.gz
- Upload date:
- Size: 288.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d56b56d0f9f1198328002c8e3d2c3701c2963ebfb42aa2c73ea6acb2443e7d7
|
|
| MD5 |
8dadf349b4595764189f7ab87ce64662
|
|
| BLAKE2b-256 |
12e4d0e9ccd3f5912eaded9a5a64ce80746e20158e93152d09e38629683b0083
|
Provenance
The following attestation bundles were made for openlifu-0.21.1.tar.gz:
Publisher:
cd.yml on OpenwaterHealth/openlifu-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openlifu-0.21.1.tar.gz -
Subject digest:
2d56b56d0f9f1198328002c8e3d2c3701c2963ebfb42aa2c73ea6acb2443e7d7 - Sigstore transparency entry: 2190471589
- Sigstore integration time:
-
Permalink:
OpenwaterHealth/openlifu-python@c0a64b74ca29612a9f3b6c546162095c4b513d72 -
Branch / Tag:
refs/tags/v0.21.1 - Owner: https://github.com/OpenwaterHealth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@c0a64b74ca29612a9f3b6c546162095c4b513d72 -
Trigger Event:
release
-
Statement type:
File details
Details for the file openlifu-0.21.1-py3-none-any.whl.
File metadata
- Download URL: openlifu-0.21.1-py3-none-any.whl
- Upload date:
- Size: 180.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a46532fc7a6c9d28b94918278b84a045ed5d920fb35194c34889c6a16110abb
|
|
| MD5 |
a3021e9edb58ba5e6460a0c7175acf3d
|
|
| BLAKE2b-256 |
84eaf485924467774548208f3a62f4e5ee15bd94864adf6541b89a743b9ef3ab
|
Provenance
The following attestation bundles were made for openlifu-0.21.1-py3-none-any.whl:
Publisher:
cd.yml on OpenwaterHealth/openlifu-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openlifu-0.21.1-py3-none-any.whl -
Subject digest:
6a46532fc7a6c9d28b94918278b84a045ed5d920fb35194c34889c6a16110abb - Sigstore transparency entry: 2190471597
- Sigstore integration time:
-
Permalink:
OpenwaterHealth/openlifu-python@c0a64b74ca29612a9f3b6c546162095c4b513d72 -
Branch / Tag:
refs/tags/v0.21.1 - Owner: https://github.com/OpenwaterHealth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@c0a64b74ca29612a9f3b6c546162095c4b513d72 -
Trigger Event:
release
-
Statement type: