# direction¶

Causal directions.

class pyphi.direction.Direction

Constant that parametrizes cause and effect methods.

Accessed using Direction.PAST and Direction.FUTURE, etc.

PAST = 0
FUTURE = 1
BIDIRECTIONAL = 2
to_json()
classmethod from_json(dct)
order(mechanism, purview)

Order the mechanism and purview in time.

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