pyphi.matching.environment#
Environment generators for matching.
A generator is a world distribution: a mapping from sensory-interface states
(length-n 0/1 tuples) to probabilities summing to 1, suitable as the
world_distribution of pyphi.matching.MatchingAnalysis. Distributions
are computed exactly over the sensory interface. Keys align positionally with the
caller’s sensory_indices; “contiguous” refers to that ordering.
Functions
|
A weighted convex combination of distributions (pick one per draw). |
|
Each unit independently active with probability |
|
A single unit active at a uniformly random location with probability |
|
Draw |
|
A run of |
|
Independent activation of each generator, combined by elementwise OR. |