Skip to main content

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.

Metadata

Release files for tvb-gdist 1.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tvb-gdist 1.5.6
File Size Uploaded
tvb-gdist-1.5.6.tar.gz 43.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tvb-gdist 1.5.6
File Interpreter ABI Platform
tvb_gdist-1.5.6-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
tvb_gdist-1.5.6-cp27-cp27m-macosx_10_6_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 283.7 kB

Release files / tvb-gdist-1.5.6.tar.gz

Download URL tvb-gdist-1.5.6.tar.gz
Size 43.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cc718748b0b6f120818fce987f0cac50f2ef6f95c667c2b6269ebe14381ffb6b
BLAKE2b-256 checksum
How to use checksums
1b59aec163b661da10fba06669d64cc9c38ba7e17c5a52eaa322f4db75a97f6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tvb_gdist-1.5.6-cp27-cp27m-win_amd64.whl

Download URL tvb_gdist-1.5.6-cp27-cp27m-win_amd64.whl
Size 79.8 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
6f69fb3f1268f43a27629e589705d6fee8288fe94680ef26afe1080467c8aa4e
BLAKE2b-256 checksum
How to use checksums
3f96f42353e4c192101e5ad9c8b98994ed248613dbceeab5790fa9a565da7927
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tvb_gdist-1.5.6-cp27-cp27m-macosx_10_6_intel.whl

Download URL tvb_gdist-1.5.6-cp27-cp27m-macosx_10_6_intel.whl
Size 160.7 kB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
08bd7cbd3b5d105c33c44792528aff6d37b619d69d88c9f93fef4a2d6404cc67
BLAKE2b-256 checksum
How to use checksums
3cfa2830a52e368a27b218754db86fd62d940d6ef89eb39ecea2a9f50439cce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.9.2

31 release files

2.2

23 release files

2.1.1

23 release files

2.1.0

5 release files

2.0.2

5 release files

2.0.1

4 release files

2.0.0

2 release files

1.5.8

3 release files

This release

1.5.6 This release

3 release files

1.5.5

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page