Interface for Northern Digital (NDI) Trackers with data to NumPy arrays
Project description
scikit-surgerynditracker is a python interface for Northern Digital (NDI) trackers. It should work with Polaris Vicra, Spectra, and Vega optical trackers and Aurora electromagnetic trackers. Tracking data is output as NumPy arrays.
Author: Stephen Thompson
scikit-surgerynditracker is part of the SNAPPY software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).
Installing
pip install scikit-surgerynditracker
Using
Configuration is done using Python libraries. Tracking data is returned in NumPy arrays.
from sksurgerynditracker.nditracker import NDITracker SETTINGS = { "tracker type": "polaris", "romfiles" : ["../data/8700339.rom"] } TRACKER = NDITracker() TRACKER.connect(SETTINGS) TRACKER.start_tracking() print(TRACKER.get_frame() TRACKER.stop_tracking() TRACKER.close()
See example.py for a full example
Developing
Cloning
You can clone the repository using the following command:
git clone https://weisslab.cs.ucl.ac.uk/WEISS/SoftwareRepositories/scikit-surgerynditracker
Running the tests
You can run the unit tests by installing and running tox:
pip install tox tox
Contributing
Please see the contributing guidelines.
Useful links
Licensing and copyright
Copyright 2018 University College London. scikit-surgerynditracker is released under the BSD-3 license. Please see the license file for details.
Acknowledgements
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
Hashes for scikit_surgerynditracker-0.0.2rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d840771a53d4d78774e613edf3d185f434ac09c39423b72a5adbcea0a4f18822 |
|
MD5 | d5d8b4e1b0b07c6df8d70259f1dcda23 |
|
BLAKE2b-256 | 6f7ab7195ca9e4e0b960f11daec4e25d5714656309eef20158dcdbc65ddcd731 |