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/SNAPPY/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.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2328e5a0b29d51e9b2c56d794e3038430135b8d9d860c4f68c62c3a041ca435d |
|
MD5 | 675928e439963102ee9042e5330be73d |
|
BLAKE2b-256 | 18a190d7bfd95a968b02afe53671dbcbebc957fa024d6c083f3a09eaafcad591 |