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