pyphi.substrate_generator.mechanisms.mismatch_pattern_detector#
- pyphi.substrate_generator.mechanisms.mismatch_pattern_detector(element, weights, state, *, pattern_selection=(), ceiling=1.0, floor=0.0, selectivity=1.0, inputs=None, **kwargs)[source]#
Pattern detector that responds strongly to mismatched inputs: weakly coupled to inputs matching its current state, strongly to unexpected ones.
Requires a self-loop (reads
state[element]).