Network.connectivity_matrix

Network.connectivity_matrix(rtype='array')[source]

Creates a connectivity matrix from a Network datastructure.

Parameters:
rtypeLiteral[‘array’, ‘csc’, ‘csr’, ‘coo’, ‘list’], optional

Format of the result.

Returns:
array_like

Constructed connectivity matrix.