pyphi.automorphism.canonical_state#

pyphi.automorphism.canonical_state(substrate, state)[source]#

Map state into canonical coordinates, reduced over the automorphism orbit.

For substrates related by a node permutation, corresponding states’ canonical-coordinate images agree only up to an automorphism, so the permutation-invariant identity of state is the lexicographically smallest image over every permutation that carries substrate to its canonical form.

Parameters:
Return type:

tuple[int, …]