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.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdf3898483d3061b45bae2199f3eadf2d939642f06e86dfbfd9890bb72129b01 |
|
MD5 | 74d997fdd0d18e79ad3c6f76006f2e62 |
|
BLAKE2b-256 | a67701fce48b28fe8ee22bc003a2170cfd28ff8027550d7b1a02388eb4eed865 |