pyphi.connectivity.relevant_connections# pyphi.connectivity.relevant_connections(n, _from, to)[source]# Construct a connectivity matrix. Parameters: n (int) – The number of nodes (the matrix is n × n). _from (tuple[int]) – Nodes with outgoing connections to to. to (tuple[int]) – Nodes with incoming connections from _from. Returns: np.ndarray – An n × n connectivity matrix whose (i, j)-th entry is 1 if i is in _from and j is in to, and 0 otherwise. Return type: ndarray[tuple[Any, …], dtype[float64]]