constants

Package-wide constants.

class pyphi.constants.Direction

Constants that parametrize cause and effect methods.

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

PAST = 0
FUTURE = 1
BIDIRECTIONAL = 2
to_json()
classmethod from_json(dct)
pyphi.constants.EPSILON = 1e-06

The threshold below which we consider differences in phi values to be zero.

pyphi.constants.FILESYSTEM = 'fs'

Label for the filesystem cache backend.

pyphi.constants.DATABASE = 'db'

Label for the MongoDB cache backend.

pyphi.constants.PICKLE_PROTOCOL = 4

The protocol used for pickling objects.

pyphi.constants.joblib_memory = Memory(cachedir='__pyphi_cache__/joblib')

The joblib Memory object for persistent caching without a database.

pyphi.constants.OFF = (0,)

Node states