netneurotools.metrics.get_navigation_path_length

netneurotools.metrics.get_navigation_path_length(nav_paths, alt_dist_mat)[source]

Get navigation path length from navigation results.

Parameters:
  • nav_paths (list) – Return from netneurotools.metrics.navigation_wu

  • alt_dist_mat ((N, N) array_like) – Alternative distance matrix, e.g. geodesic distance.

Returns:

nav_path_len – Navigation path length matrix, in the alternative distance metric.

Return type:

(N, N) array_like

Notes

Following the original BCT function. pl_wei = get_navigation_path_length(nav_paths, L) L is strength-to-length remapping of the connection weight matrix. pl_dis = get_navigation_path_length(nav_paths, D) D is Euclidean distance between node centroids.