Python interface for OpenIGTLink
Project description
pyigtl
Python implementation of OpenIGTLink, a lightweight real-time data transfer protocol developed for image-guided therapy applications (surgical navigation, image-guided surgery, ultrasound-guided interventions, etc.).
Tested with 3D Slicer, SlicerIGT and PLUS Toolkit.
Supports latest OpenIGTLink protocol (version 3) and message types: IMAGE, TRANSFORM, STRING, POINT.
Installation
Using pip:
pip install pyigtl
Example
Wait until a message is received from a device named ToolToReference
and print the message content:
import pyigtl
client = pyigtl.OpenIGTLinkClient("127.0.0.1", 18944)
message = client.wait_for_message("ToolToReference", timeout=5)
print(message)
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
pyigtl-0.3.1.tar.gz
(16.5 kB
view details)
Built Distribution
pyigtl-0.3.1-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file pyigtl-0.3.1.tar.gz
.
File metadata
- Download URL: pyigtl-0.3.1.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab39f933940a7e640d73df04e1d7a8af6f4152fec8355552779e7806412b1c65 |
|
MD5 | a21980138f9380d0c0735b48a713385f |
|
BLAKE2b-256 | 4165ebc930dc098e9e36ba080cce1eb6cdfe9612f6ef33e6ce62bb5fe83b46de |
File details
Details for the file pyigtl-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: pyigtl-0.3.1-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d7384c610d2d919859ab82098cfb80712a687940b6e978899b67d99c5c26586 |
|
MD5 | e28eeb3be947036f92158fdb38d7f0bd |
|
BLAKE2b-256 | 5c3d2cf8ef6b9b91fd6653044c01901bd662e732d495febe5d12a471f356b435 |