pyphi.campaign.scope.CESScope#
- class pyphi.campaign.scope.CESScope(mechanisms=<factory>, cause_purviews=<factory>, effect_purviews=<factory>, max_purview_order_by_mechanism_order=None)[source]#
Bases:
objectThe feasibility surface of a cause-effect structure computation.
max_purview_order_by_mechanism_orderis an explicit table of(mechanism order, max purview order)pairs applying to both purview directions on top of the static axes; mechanism orders absent from the table fall back to the static constraints alone. This expresses order-tied purview bounds (e.g. purview order ≤ 2·order + 1) exactly while the scope remains callable-free named data.- Parameters:
- purview_axis(direction, mechanism)[source]#
The effective purview constraint for one mechanism.
The static axis for
direction, intersected with the cap table’s bound forlen(mechanism)when one is listed. Every purview selection — planning, counting, execution, and collection — goes through this method, so they cannot disagree about the scope.