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.
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.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5b9e2930c6cf600f641eccf8497a475384975ba36a126c8fd41b6d11104a1c |
|
MD5 | 8359a737a0b45ca0fbd54ec43900e1aa |
|
BLAKE2b-256 | 21bba9f75691ebfecae4a5a7fb9957db562091c7d4c93aaa1f70201cd974e962 |
Hashes for tvb_gdist-2.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8a4fd446dff580cc621d6201af601d1a4890cad4ed7b49a5ae11ed37905148 |
|
MD5 | 16564d78367f4ed62490746b76e61ef3 |
|
BLAKE2b-256 | 39cae03780d08f422f68db5d6edc2182d9befba58e603bb59e23fb38a0e3c96b |
Hashes for tvb_gdist-2.0.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4af39674e5eaee69543551bfe581c16d7f83a26377140795ef57d10952db0da |
|
MD5 | db647709affa04d482de59a6ac1238ca |
|
BLAKE2b-256 | bf448a3e2e24a8680f6993816aec28ecd3831e7bc1ba318e990c52706359ffbe |
Hashes for tvb_gdist-2.0.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 424d36050a31714d55e7ea5dee24c8f506ba87407c9d376b357e87fdd1a14562 |
|
MD5 | 22ceb50baf905791545ebb3dbf0dc151 |
|
BLAKE2b-256 | 40c2d1c526e965bf6b1f40ac5ee24a3b5c82238e5404d787dae6634ab5fc38c6 |