compute.big_phi
¶
Methods for computing concepts, constellations, and integrated information of subsystems.
-
pyphi.compute.big_phi.
evaluate_cut
(uncut_subsystem, cut, unpartitioned_constellation)¶ Find the
BigMip
for a given cut.Parameters: - uncut_subsystem (Subsystem) – The subsystem without the cut applied.
- cut (Cut) – The cut to evaluate.
- unpartitioned_constellation (Constellation) – The constellation of the uncut subsystem.
Returns: The
BigMip
for that cut.Return type:
-
pyphi.compute.big_phi.
big_mip_bipartitions
(nodes)¶ Return all \(\Phi\) cuts for the given nodes.
This value changes based on config.CUT_ONE_APPROXIMATION.
Parameters: tuple (nodes) – The node indices to partition. Returns: list – All unidirectional partitions. Return type: Cut
-
pyphi.compute.big_phi.
big_mip
(cache_key, subsystem)¶ Return the minimal information partition of a subsystem.
Parameters: subsystem (Subsystem) – The candidate set of nodes. Returns: A nested structure containing all the data from the intermediate calculations. The top level contains the basic MIP information for the given subsystem. Return type: BigMip
-
pyphi.compute.big_phi.
big_phi
(subsystem)¶ Return the \(\Phi\) value of a subsystem.
-
pyphi.compute.big_phi.
subsystems
(network, state)¶ Return a generator of all possible subsystems of a network.
Does not return subsystems that are in an impossible state.
-
pyphi.compute.big_phi.
all_complexes
(network, state)¶ Return a generator for all complexes of the network.
Includes reducible, zero-phi complexes (which are not, strictly speaking, complexes at all).
-
pyphi.compute.big_phi.
possible_complexes
(network, state)¶ Return a generator of subsystems of a network that could be a complex.
This is the just powerset of the nodes that have at least one input and output (nodes with no inputs or no outputs cannot be part of a main complex, because they do not have a causal link with the rest of the subsystem in the past or future, respectively).
Does not include subsystems in an impossible state.
Parameters: - network (Network) – The network for which to return possible complexes.
- state (tuple(int) – The state of the network.
Yields: (Subsystem) – The next subsystem which could be a complex.
-
pyphi.compute.big_phi.
complexes
(network, state)¶ Return a generator for all irreducible complexes of the network.
-
pyphi.compute.big_phi.
main_complex
(network, state)¶ Return the main complex of the network.
-
pyphi.compute.big_phi.
condensed
(network, state)¶ Return the set of maximal non-overlapping complexes.