pyphi.models.explanation.Explanation#

class pyphi.models.explanation.Explanation(subject, level, findings=())[source]#

Bases: Displayable

A typed account of why a result came out as it did.

subject names the quantity being explained (e.g. "Φ_s = 0.0"); level is "system" or "mechanism"; findings is the ordered account.

Parameters:
to_pandas()[source]#

A tidy DataFrame with one row per finding.

Columns: level, kind, label, value. A NullResultReason value renders by its enum name.