Skip to main content

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

https://travis-ci.com/the-virtual-brain/tvb-geodesic.svg?branch=trunk

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvb-gdist-2.0.1.tar.gz (48.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tvb_gdist-2.0.1-cp38-cp38-win_amd64.whl (81.3 kB view details)

Uploaded CPython 3.8Windows x86-64

tvb_gdist-2.0.1-cp37-cp37m-win_amd64.whl (80.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

tvb_gdist-2.0.1-cp36-cp36m-win_amd64.whl (80.7 kB view details)

Uploaded CPython 3.6mWindows x86-64

File details

Details for the file tvb-gdist-2.0.1.tar.gz.

File metadata

  • Download URL: tvb-gdist-2.0.1.tar.gz
  • Upload date:
  • Size: 48.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for tvb-gdist-2.0.1.tar.gz
Algorithm Hash digest
SHA256 f5a0e7d5122e4a12fc5f81ce9505607d8dc4297dded4774aff3d8281ee78feae
MD5 48fc1c9f4b40a8133d5b7df8bb0bf656
BLAKE2b-256 935382509dcb64a8d0b6930816eb76881ae3017814becb9f52efc89b3d211bce

See more details on using hashes here.

File details

Details for the file tvb_gdist-2.0.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: tvb_gdist-2.0.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 81.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for tvb_gdist-2.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 80f9c7fd52500bd07c218d4d96dac6706ef9e24e88ae71eeebd58b621ed7b85e
MD5 f4b8f3dcc82424baf50812597d52740e
BLAKE2b-256 64994e32680d2bfae60f3037a5b43630d3a788df65666148a06e8a89b7a9b2f0

See more details on using hashes here.

File details

Details for the file tvb_gdist-2.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: tvb_gdist-2.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for tvb_gdist-2.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4b7bd08b0e3339adf4daf6720922e077dc26b5175be53ae12bdf1a4b6e988c95
MD5 fe6440f3b4eb475c6af70f879fd0c88f
BLAKE2b-256 1749cbcf64feab1e0848e2b29c94efbdd3bb26932759462889fcb3722595192b

See more details on using hashes here.

File details

Details for the file tvb_gdist-2.0.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: tvb_gdist-2.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 80.7 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for tvb_gdist-2.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2dc7cfd6df673c68135d7861d1e9ebbcc44c3a62de6b801ed4d8a67acb9f0bde
MD5 d91ea4818d1646efbb383a7e293a4127
BLAKE2b-256 bd5e9da70a248639214d5f0dce6eda150693be1e3a84c2615cfcfee130e29bdd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page