flexibility¶
-
flexibility
(communities)[source]¶ Amount a node changes community
Parameters: communities (array) – Community array of shape (node,time) Returns: flex – Size with the flexibility of each node. Return type: array Notes
Flexbility calculates the number of times a node switches its community label during a time series [flex-1]. It is normalized by the number of possible changes which could occur. It is important to make sure that the different community labels accross time points are not artbirary.
References
[flex-1] Bassett, DS, Wymbs N, Porter MA, Mucha P, Carlson JM, Grafton ST. Dynamic reconfiguration of human brain networks during learning. PNAS, 2011, 108(18):7641-6.