pyphi.substrate_generator.utils.inputs# pyphi.substrate_generator.utils.inputs(element, weights, state, ordering='topological', layers=None)[source]# Return the inputs being sent to the given element. Inputs are returned in the order specified by ordering. Topological ordering rotates the indices so that the element is first.