pyphi.dynamics.mean_dynamics#

pyphi.dynamics.mean_dynamics(tpm, repetitions=100, *, seed=None, rng=None, **kwargs)[source]#

Return a sample of the dynamics averaged over all initial states.

A single generator, rng or one seeded with seed, is shared across all repetitions, so a given seed reproduces the whole sample. Give at most one of seed and rng; with neither, the sample is not reproducible. Other keyword arguments are passed to simulate().

Parameters:
  • tpm (ArrayLike)

  • repetitions (int)

  • seed (int | None)

  • rng (Generator | None)