brainconn.degree.strengths_und_sign¶
-
strengths_und_sign(W)[source]¶ Node strength is the sum of weights of links connected to the node.
Parameters: W (NxN numpy.ndarray) – undirected connection matrix with positive and negative weightsReturns: - Spos (Nx1
numpy.ndarray) – nodal strength of positive weights - Sneg (Nx1
numpy.ndarray) – nodal strength of positive weights - vpos (float) – total positive weight
- vneg (float) – total negative weight
- Spos (Nx1