-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Dataset: https://github.com/the-virtual-brain/tvb-data/blob/master/tvb_data/surfaceData/cortex_2x120k.zip
Used code:
import numpy as np
import gdist
file = "cortex_2x120k"
for t in ['l', 'r']:
print("Trying " + t)
vertices = np.loadtxt("data/surface_data/" + file +
"/vertices" + t + ".txt", dtype=np.float64)
triangles = np.loadtxt("data/surface_data/" + file +
"/triangles" + t + ".txt", dtype=np.int32)
source = np.array([0, 1, 2, 3], dtype=np.int32)
target = np.array([2, 5], dtype=np.int32)
distance = gdist.compute_gdist(
vertices,
triangles,
source,
target,
)
print(distance)Related to #22
While only using the C++ library:
Assertion failed!
File: geodesic_mesh.h, Line 158
Expression: vertex_index < num_verticesReactions are currently unavailable