pyphi.substrate_generator.mechanisms.xor_gate# pyphi.substrate_generator.mechanisms.xor_gate(element, weights, state, *, floor=0.0, ceiling=1.0, inputs=None, **kwargs)[source]# Two-input XOR truth table (ceiling iff the inputs differ).