conpy.connectivity.
all_to_all_connectivity_pairs
(src_or_fwd, min_dist=0.04)¶Obtain pairs of vertices to compute all-to-all connectivity for.
This is needed for all-to-all connectivity. Calculates all the pairs of vertices that are further away from each other than the selected distance limit.
The source space or forward model to obtain vertex pairs for.
The minimum distance between vertices (in meters). Defaults to 0.04.
For each pair, the index of the first vertex.
For each pair, the index of the second vertex.
See also
one_to_all_connectivity_pairs
Obtain pairs for one-to-all connectivity.