pyphi.substrate_generator.utils.binary2spin# pyphi.substrate_generator.utils.binary2spin(binary_state)[source]# Return the Ising spin state corresponding to the given binary state. This just replaces 0 with -1.