spacenet.global_metrics#
Global metrics for spatial networks#
Computes the total volume of a spatial network, which is defined as the sum of the edge weights specified by edge_weight_name. |
|
The computes the diameter of the network, which is the maximum weighted shortest path between any two nodes in the network. |
|
The alpha index, also knowned as the meshedness coefficient, is a metric used to evaluate and measure the connectivity of a network. |
|
The beta index is the ratio of edges to nodes in a spatial network. |
|
The Gamma Index is a fundamental metric that measures a network's connectivity by comparing the actual number of edges to the maximum possible number of edges. |
|
Calculate the cyclomatic number of a network. |
|
Computes the mean detour index of a spatial network, which is defined as the average ratio of the shortest path distance between pairs of nodes to the direct distance between those nodes in space, for all pairs of nodes that are within a specified maximum distance of each other. |
|
Computes the mean cluster coefficient of a spatial network, which is the average of the clustering coefficients of all nodes in the graph. |