pyphi.matching.matching.MatchingResult#
- class pyphi.matching.matching.MatchingResult(value, seed, n_trials, k, world_differentiation, noise_differentiation, subsequence=None)[source]#
Bases:
objectThe result of a matching computation (Eq. 21).
Carries everything needed to reproduce the value: the seed, the sampling parameters, and the per-trial perceptual differentiation of the world and noise sequences.
- Variables:
value (float) – The matching estimate: the mean of
world_differentiationminus the mean ofnoise_differentiation.seed (int) – The seed of the RNG used to draw the sequences.
n_trials (int) – The number of paired world/noise sequences sampled.
k (int) – The length of each sampled stimulus sequence.
world_differentiation (tuple of float) – Per-trial perceptual differentiation of the world sequences.
noise_differentiation (tuple of float) – Per-trial perceptual differentiation of the noise sequences.
subsequence (tuple of int or None) – The winning 1-based inclusive window
(a, b)when the maximum was taken over contiguous subsequences;Nonewhen the full sequence was used. The per-trial values are those of this window.
- Parameters: