pyphi.core.tpm.joint#

The joint (dense) form of a substrate TPM.

The joint peer of FactoredTPM under the TPM Protocol. A read-only snapshot of the joint conditional P(sₜ₊₁ | sₜ) materialized as one ndarray in the explicit-alphabet layout (*alphabet_sizes, n_nodes, max_alphabet): per output unit i, the distribution over its next state occupies slots [:alphabet_sizes[i]] of the trailing axis, and trailing slots are zero when alphabets are heterogeneous. Produced by to_joint() and joint_tpm().

Notes

The array is copied at construction; the view holds no reference to its source and does not track later mutation of it. FactoredTPM is the canonical stored representation — this is a derived view for serialization, inspection, and display, not for computation.

Classes

JointTPM(data[, node_labels, alphabet_sizes])

Read-only joint (dense) form of a substrate TPM.