Integrated Information Theory

Integrated information theory (IIT) is a theoretical framework for understanding consciousness developed by Giulio Tononi, MD, PhD, at the Center for Sleep and Consciousness at the University of Wisconsin–Madison.


PyPhi is a Python library for calculating integrated information (denoted Φ) and its associated quantities and structures. It is open-source and available on GitHub.

Please consult the the repository's README for more information.

Visual Interface

There is a visual interface to this code available on this website via the “Calculate Φ” tab above.


Online documentation is available. There are some examples that demonstrate how to create a network and measure its Φ, and comprehensive documentation of the API.

In addition, the source code itself is commented. Those familiar with Python are encouraged to read the code to better understand the details of the calculation.