pyphi.validate.connectivity#

pyphi.validate.connectivity(cm, factored_tpm)[source]#

Validate that a connectivity matrix is not under-specified.

An edge a -> b that the TPM implies (factor b depends on input a) but cm omits 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:
Return type:

bool