pyphi.models.diff.Change#
- class pyphi.models.diff.Change(kind, key, a_value=None, b_value=None, tone=None)[source]#
Bases:
objectOne element-level delta between two results.
kindis 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");keyidentifies the element (mechanism, relata, or link);a_value/b_valueare the per-side quantities (Noneon the side where the element is absent);toneis an optional semantic accent that HTML rendering colors.