pyphi.connectivity.is_weak# pyphi.connectivity.is_weak(cm, nodes=None)[source]# Return whether the connectivity matrix is weakly connected. Parameters: cm (np.ndarray) – A square connectivity matrix. nodes (tuple[int]) – A subset of nodes to consider. Return type: bool