compute.network
¶
Functions for computing networklevel properties.

pyphi.compute.network.
subsystems
(network, state)¶ Return a generator of all possible subsystems of a network.
Note
Does not return subsystems that are in an impossible state (after conditioning the subsystem TPM on the state of the other nodes).
Parameters: Yields: Subsystem – A
Subsystem
for each subset of nodes in the network, excluding subsystems that would be in an impossible state.

pyphi.compute.network.
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 previous or next timestep, respectively).
Note
Does not return subsystems that are in an impossible state (after conditioning the subsystem TPM on the state of the other nodes).
Parameters: Yields: Subsystem – The next subsystem that could be a complex.

class
pyphi.compute.network.
FindAllComplexes
(iterable, *context)¶ Computation engine for finding all complexes.

description
= 'Finding complexes'¶

empty_result
()¶

static
compute
(subsystem)¶

process_result
(new_sia, sias)¶


pyphi.compute.network.
all_complexes
(network, state)¶ Return a generator for all complexes of the network.
Note
Includes reducible, zero\(\Phi\) complexes (which are not, strictly speaking, complexes at all).
Parameters: Yields: SystemIrreducibilityAnalysis – A
SystemIrreducibilityAnalysis
for eachSubsystem
of theNetwork
.

class
pyphi.compute.network.
FindIrreducibleComplexes
(iterable, *context)¶ Computation engine for finding irreducible complexes of a network.

process_result
(new_sia, sias)¶


pyphi.compute.network.
complexes
(network, state)¶ Return all irreducible complexes of the network.
Parameters: Yields: SystemIrreducibilityAnalysis – A
SystemIrreducibilityAnalysis
for eachSubsystem
of theNetwork
, excluding those with \(\Phi = 0\).

pyphi.compute.network.
major_complex
(network, state)¶ Return the major complex of the network.
Parameters: Returns: The
SystemIrreducibilityAnalysis
for theSubsystem
with maximal \(\Phi\).Return type:

pyphi.compute.network.
condensed
(network, state)¶ Return a list of maximal nonoverlapping complexes.
Parameters: Returns: A list of
SystemIrreducibilityAnalysis
for nonoverlapping complexes with maximal \(\Phi\) values.Return type: