pyphi.connectivity.is_strong#

pyphi.connectivity.is_strong(cm, nodes=None)[source]#

Return whether the connectivity matrix is strongly connected.

Remember that a singleton graph is strongly connected.

Parameters:
  • cm (np.ndarray) – A square connectivity matrix.

  • nodes (tuple[int]) – A subset of nodes to consider.

Return type:

bool