nws_tools.strengths_und

nws_tools.strengths_und(CIJ)[source]

Compute nodal strengths in an undirected graph

Parameters:

CIJ : NumPy 2darray

Undirected binary/weighted connection matrix

Returns:

st : NumPy 1darray

Nodal strength vector

See also

strengths_und.m
in the Brain Connectivity Toolbox (BCT) for MATLAB, currently available here
bctpy
An unofficial Python port of the BCT is currently available at the Python Package Index and can be installed using pip.

Notes

This function does not do any error checking and assumes you know what you are doing