spacenet.global_metrics.beta_index#

spacenet.global_metrics.beta_index(spatial_network)#

The beta index is the ratio of edges to nodes in a spatial network. It is a measure of the connectivity of the network, with higher values indicating a more connected network.

Parameters:
spatial_networkNetworkX graph

The spatial network for which to calculate the beta index.

Returns:
beta_indexfloat

The beta index of the spatial network.