# direction¶

Causal directions.

class pyphi.direction.Direction(value)

Constant that parametrizes cause and effect methods.

Accessed using Direction.CAUSE and Direction.EFFECT, etc.

CAUSE = 0
EFFECT = 1
BIDIRECTIONAL = 2
to_json()
classmethod from_json(dct)
order(mechanism, purview)

Order the mechanism and purview in time.

If the direction is CAUSE, then the purview is at $$t-1$$ and the mechanism is at time $$t$$. If the direction is EFFECT, then the mechanism is at time $$t$$ and the purview is at $$t+1$$.