 Pseudocode for the algorithms used to calculate these quantities can be found at reference.For a visual illustration of the algorithm, see the supplementary material of the paper describing the PyPhi toolbox.A system refers to a set of elements, each with two or more internal states, inputs that influence that state, and outputs that are influenced by that state.