pyphi.substrate_generator.mechanisms.mismatch_corrector#
- pyphi.substrate_generator.mechanisms.mismatch_corrector(element, weights, state, *, floor=0.0, ceiling=1.0, bias=0.0, inputs=None, **kwargs)[source]#
Single-input corrector: when the unit and its input match, it relaxes toward 0.5 (biased by
bias); when they mismatch, it copies the input.Requires a self-loop (reads
state[element]).