conpy.
VertexConnectivity
(data, pairs, vertices, vertex_degree=None, subject=None, directed=False)¶Estimation of connectivity between vertices.
For each connectivity source pair, a value describing the connection. For example, this can be the strength of the connection between the sources.
The vertices involved in the from-to connectivity pair. The vertices are listed as “vertex indices” in the array:
np.hstack((vertices[0], (vertices[1] + len(vertices[0]))))
For each hemisphere, the vertex numbers of sources defined in the corresponding source space.
For each vertex, the total number of possible connections from and to
the vertex. This information is needed to perform weighting on the
number of connections during visualization and statistics. If None
,
it is assumed that all possible connections are defined in the
pairs
parameter and the out- and in-degree of each vertex is
computed.
The subject-id.
Whether the connectivity is directed (from->to != to->from). Defaults to False.
n_connections
intThe number of connections.
The number of sources between possible connections were computed.
__getitem__
(index)¶Select connections without making a deep copy.
__hash__
(/)¶Return hash(self).