pymnet.supra_adjacency_matrix¶
- pymnet.supra_adjacency_matrix(net, includeCouplings=True)¶
- Returns the supra-adjacency matrix and a list of node-layer pairs. - Parameters:
- includeCoupingsbool
- If True, the inter-layer edges are included, if False, only intra-layer edges are included. 
 
- Returns:
- matrix, nodesnumpy.matrix, list
- The supra-adjacency matrix and the list of node-layer pairs. The order of the elements in the list and the supra-adjacency matrix are the same.