Skip to main content

Compute geodesic distances

Project description

External Library Geodesic

The gdist module is a Cython interface to a C++ library (http://code.google.com/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.

Original library (published under MIT license): http://code.google.com/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 gdist or download sources from Github and run python setup.py install in current folder.

Basic test could be:

python
import gdist

Python 2.7, Cython, and a C++ compiler are required.

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.

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-1.5.8.tar.gz (42.6 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-1.5.8-cp27-cp27m-win_amd64.whl (92.6 kB view details)

Uploaded CPython 2.7mWindows x86-64

tvb_gdist-1.5.8-cp27-cp27m-macosx_10_9_x86_64.whl (78.3 kB view details)

Uploaded CPython 2.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tvb-gdist-1.5.8.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.15

File hashes

Hashes for tvb-gdist-1.5.8.tar.gz
Algorithm Hash digest
SHA256 66f63938cd2011ae5476f3e0e99ebf2a4fa7bffed3148c17e5e64c94d8c57c4e
MD5 ab93aa8d8745627524debb020253bb48
BLAKE2b-256 b534071b5ec6840649892891620220b7a97db900ee66b7e7bbdc0a12ea467e87

See more details on using hashes here.

File details

Details for the file tvb_gdist-1.5.8-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: tvb_gdist-1.5.8-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 92.6 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.15

File hashes

Hashes for tvb_gdist-1.5.8-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 f54a1e335e2ff3e3c7700fbb939aad8aeadb005495eabda059900e6a627556a7
MD5 4b6402433505c154947ef700926c4431
BLAKE2b-256 8dbe8ad9ff794308b3ee543f0f32c92452ce1042bb51e0448e119e9b1caed5b5

See more details on using hashes here.

File details

Details for the file tvb_gdist-1.5.8-cp27-cp27m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tvb_gdist-1.5.8-cp27-cp27m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 78.3 kB
  • Tags: CPython 2.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.15

File hashes

Hashes for tvb_gdist-1.5.8-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c3fdb07888bb8aa0592940375180c79184b1e5d7ec27e9e99728512851a98482
MD5 3d2165a0d3663f89ff27755e89f96c0e
BLAKE2b-256 1512bd9c36f7ef4b0402b20a97c177f774dcb3889cb681a660a103b2519464dc

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