pyphi.models.diff.Change#

class pyphi.models.diff.Change(kind, key, a_value=None, b_value=None, tone=None)[source]#

Bases: object

One element-level delta between two results.

kind is a stable machine key ("distinction_gained" / "distinction_lost" / "distinction_changed" / "relation_gained" / "relation_lost" / "relation_sum_phi" / "relation_count" / "relation_degree" / "link_gained" / "link_lost" / "link_changed" / "purview_changed"); key identifies the element (mechanism, relata, or link); a_value / b_value are the per-side quantities (None on the side where the element is absent); tone is an optional semantic accent that HTML rendering colors.

Parameters: