pyphi.validate.connectivity#
- pyphi.validate.connectivity(cm, factored_tpm)[source]#
Validate that a connectivity matrix is not under-specified.
An edge
a -> bthat the TPM implies (factorbdepends on inputa) butcmomits would be silently marginalized out during node construction and excluded from purview search, under-counting phi. Such omissions are rejected. Over-specification (declaring an edge the TPM does not use) is permitted — it only widens the search.- Parameters:
cm (np.ndarray)
factored_tpm (FactoredTPM)
- Return type: