braintools.analysis.graph.DegreeDistribution#
- class braintools.analysis.graph.DegreeDistribution(degrees, values, counts)[source]#
Result of
degree_distribution().- Variables:
degrees (numpy.ndarray) – Degree of every node,
int64. Its length is the number of post neurons fordirection='in', of pre neurons for'out', and of nodes for'total'.values (numpy.ndarray) – Degree values
0, 1, ..., max(degrees)(int64).counts (numpy.ndarray) – Number of nodes with each degree in
values(int64, sums tolen(degrees)).
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
countsAlias for field number 2
degreesAlias for field number 0
valuesAlias for field number 1