Compute geodesic distances
Project description
Geodesic Library
The tvb-gdist module is a Cython interface to a C++ library (https://code.google.com/archive/p/geodesic/) for computing geodesic distance which is the length of shortest line between two vertices on a triangulated mesh in three dimensions, such that the line lies on the surface.
The algorithm is due Mitchell, Mount and Papadimitriou, 1987; the implementation is due to Danil Kirsanov and the Cython interface to Gaurav Malhotra and Stuart Knock (TVB Team).
Original library (published under MIT license): https://code.google.com/archive/p/geodesic/
We added a Python wrapped and made small fixes to the original library, to make it compatible with Cython.
To install this, either run pip install tvb-gdist or download sources from Github and run python setup.py install in current folder. https://github.com/the-virtual-brain/tvb-geodesic
Basic test could be:
python import gdist
Python 3, Cython, and a C++ compiler are required unless the Pypi whl files are compatible with your system.
Debian package
In order to produce a Debian package, assuming you have the requisite tools installed (apt-get install devscripts python-all-dev python-stdeb):
cd debian debuild -us -uc cd ../../
and you should find a suitable deb file for your system.
Current Build Status
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
Built Distributions
Hashes for tvb_gdist-2.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f9c7fd52500bd07c218d4d96dac6706ef9e24e88ae71eeebd58b621ed7b85e |
|
MD5 | f4b8f3dcc82424baf50812597d52740e |
|
BLAKE2b-256 | 64994e32680d2bfae60f3037a5b43630d3a788df65666148a06e8a89b7a9b2f0 |
Hashes for tvb_gdist-2.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b7bd08b0e3339adf4daf6720922e077dc26b5175be53ae12bdf1a4b6e988c95 |
|
MD5 | fe6440f3b4eb475c6af70f879fd0c88f |
|
BLAKE2b-256 | 1749cbcf64feab1e0848e2b29c94efbdd3bb26932759462889fcb3722595192b |
Hashes for tvb_gdist-2.0.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dc7cfd6df673c68135d7861d1e9ebbcc44c3a62de6b801ed4d8a67acb9f0bde |
|
MD5 | d91ea4818d1646efbb383a7e293a4127 |
|
BLAKE2b-256 | bd5e9da70a248639214d5f0dce6eda150693be1e3a84c2615cfcfee130e29bdd |