conpy.
LabelConnectivity
(data, pairs, labels, label_degree=None, subject=None)¶Estimation of all-to-all connectivity, parcellated into labels.
For each connectivity source pair, a value describing the connection. For example, this can be the strength of the connection between the sources.
The index of the labels involved in the from-to connectivity pair.
The labels between which connectivity has been computed.
For each label, the total number of possible connections from and to
the label. 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 label is
computed.
The subject-id.
n_connections
intThe number of connections.
__getitem__
(index)¶Select connections without making a deep copy.
__hash__
(/)¶Return hash(self).