pyphi.substrate_generator.mechanisms.majority# pyphi.substrate_generator.mechanisms.majority(element, weights, state, *, floor=0.0, ceiling=1.0, inputs=None, **kwargs)[source]# Activation equal to the rounded mean of the (binary) input states.