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.5.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.5-cp27-cp27m-win_amd64.whl (74.7 kB view details)

Uploaded CPython 2.7mWindows x86-64

tvb_gdist-1.5.5-cp27-cp27m-macosx_10_7_x86_64.whl (81.4 kB view details)

Uploaded CPython 2.7mmacOS 10.7+ x86-64

tvb_gdist-1.5.5-cp27-cp27m-macosx_10_6_intel.whl (156.3 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

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

File metadata

  • Download URL: tvb-gdist-1.5.5.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tvb-gdist-1.5.5.tar.gz
Algorithm Hash digest
SHA256 f28c449d6f4f3337de2e63aba1fa7d30d84d35f7ad70a6aa7c2998ab46362a39
MD5 c7635a564199d424de0a5a9b0335c133
BLAKE2b-256 221959394df4058561880505f8acb227452637f6594be44bcb9a2e09e607ae5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tvb_gdist-1.5.5-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 cacaf694e7c73d89f666d059de8131243de300030a64f189f24007de5a0e7562
MD5 0c285a36f80a33a9978efdf0bd9c6f4e
BLAKE2b-256 c8c2175ded30186a10871cde4229a3cfd5057fe435cf05e36689c084b43317fa

See more details on using hashes here.

File details

Details for the file tvb_gdist-1.5.5-cp27-cp27m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for tvb_gdist-1.5.5-cp27-cp27m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 a53e278bb425f13022725628e4d2b43d8d832a7222e3eb705e3a79037fb6ba96
MD5 b5fa0f9a34473de8e718219f485ba2c4
BLAKE2b-256 4edcb02255b988c2cb7c623ef9829df1eebe4ae0de95f4ecb8bf2cdc8ab9c46e

See more details on using hashes here.

File details

Details for the file tvb_gdist-1.5.5-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for tvb_gdist-1.5.5-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 a6440ecfd30c7bd9afb69cdb8dd83e5b542bca3255a9ec2ccc044ec08c895051
MD5 f987ec2ac39df5742fe93bb0e6b34b90
BLAKE2b-256 120a62196ca003e0104555dfffe10798d9a0c652a1a09457493a429cf8569ed5

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