All Projects → wmayner → Pyphi

wmayner / Pyphi

Licence: gpl-3.0
A toolbox for integrated information theory.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pyphi

Bmtk
Brain Modeling Toolkit
Stars: ✭ 177 (-28.05%)
Mutual labels:  modeling, neuroscience
Dash
Analytical Web Apps for Python, R, Julia, and Jupyter. No JavaScript Required.
Stars: ✭ 15,592 (+6238.21%)
Mutual labels:  modeling
Amateras Modeler
UML and ER-diagram editor for Eclipse
Stars: ✭ 190 (-22.76%)
Mutual labels:  modeling
Python Mip
Collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
Stars: ✭ 202 (-17.89%)
Mutual labels:  modeling
Blender
Official mirror of Blender
Stars: ✭ 4,175 (+1597.15%)
Mutual labels:  modeling
Hodur Engine
Hodur is a domain modeling approach and collection of libraries to Clojure. By using Hodur you can define your domain model as data, parse and validate it, and then either consume your model via an API or use one of the many plugins to help you achieve mechanical results faster and in a purely functional manner.
Stars: ✭ 208 (-15.45%)
Mutual labels:  modeling
Brainrender
a python based software for visualization of neuroanatomical and morphological data.
Stars: ✭ 183 (-25.61%)
Mutual labels:  neuroscience
Brainiak
Brain Imaging Analysis Kit
Stars: ✭ 232 (-5.69%)
Mutual labels:  neuroscience
Moriarty Project
This tool gives information about the phone number that you entered.
Stars: ✭ 223 (-9.35%)
Mutual labels:  information
Neurotech Course
CS198-96: Intro to Neurotechnology @ UC Berkeley
Stars: ✭ 202 (-17.89%)
Mutual labels:  neuroscience
Dython
A set of data tools in Python
Stars: ✭ 200 (-18.7%)
Mutual labels:  modeling
Gama
Core plug-in projects of the GAMA platform
Stars: ✭ 196 (-20.33%)
Mutual labels:  modeling
Epidemiology101
Epidemic Modeling for Everyone
Stars: ✭ 215 (-12.6%)
Mutual labels:  modeling
Mpv Stats
Display file statistics in mpv.
Stars: ✭ 192 (-21.95%)
Mutual labels:  information
Awesome Computational Neuroscience
A list of schools and researchers in computational neuroscience
Stars: ✭ 230 (-6.5%)
Mutual labels:  neuroscience
Neurolib
Easy whole-brain modeling for computational neuroscientists 🧠💻👩🏿‍🔬
Stars: ✭ 188 (-23.58%)
Mutual labels:  neuroscience
Geostatspy
GeostatsPy Python package for spatial data analytics and geostatistics. Mostly a reimplementation of GSLIB, Geostatistical Library (Deutsch and Journel, 1992) in Python. Geostatistics in a Python package. I hope this resources is helpful, Prof. Michael Pyrcz
Stars: ✭ 200 (-18.7%)
Mutual labels:  modeling
Legend
The Legend project
Stars: ✭ 208 (-15.45%)
Mutual labels:  modeling
Open Computational Neuroscience Resources
A publicly-editable collection of open computational neuroscience resources
Stars: ✭ 234 (-4.88%)
Mutual labels:  neuroscience
Brayns
Visualizer for large-scale and interactive ray-tracing of neurons
Stars: ✭ 232 (-5.69%)
Mutual labels:  neuroscience

PyPhi logo

Documentation badge Travis build badge Coveralls.io badge License badge Python versions badge

PyPhi is a Python library for computing integrated information (𝚽), and the associated quantities and objects.

If you use this code, please cite the paper:


Mayner WGP, Marshall W, Albantakis L, Findlay G, Marchman R, Tononi G. (2018) PyPhi: A toolbox for integrated information theory. PLOS Computational Biology 14(7): e1006343. https://doi.org/10.1371/journal.pcbi.1006343


An illustrated tutorial on how Φ is calculated is available as a supplement to the paper.

Usage, Examples, and API documentation

Installation

Set up a Python 3 virtual environment and install with

pip install pyphi

To install the latest development version, which is a work in progress and may have bugs, run:

pip install "git+https://github.com/wmayner/

Note: this software is only supported on Linux and macOS. However, if you use Windows, you can run it by using the Anaconda Python distribution and installing PyPhi with conda:

conda install -c wmayner pyphi

Detailed installation guide for Mac OS X

See here.

User group

For discussion about the software or integrated information theory in general, you can join the pyphi-users group.

For technical issues with PyPhi or feature requests, please use the issues page.

Contributing

To help develop PyPhi, fork the project on GitHub and install the requirements with

pip install -r requirements.txt

The Makefile defines some tasks to help with development:

make test

runs the unit tests every time you change the source code.

make benchmark

runs performance benchmarks.

make docs

builds the HTML documentation.

Developing on Linux

Make sure you install the C headers for Python 3, SciPy, and NumPy before installing the requirements:

sudo apt-get install python3-dev python3-scipy python3-numpy

Developing on Windows

If you're just looking for an editable install, pip may work better than the conda develop utility included in the conda-build package. When using pip on Windows, the build of pyemd may fail. The simplest solution to this is to obtain pyemd through conda.

conda create -n pyphi_dev
conda activate pyphi_dev
conda install -c wmayner pyemd
cd path/to/local/editable/copy/of/pyphi
pip install -e .

Unfortunately, pip isn't great at managing the DLLs that some packages (especially scipy) rely on. If you have missing DLL errors, try reinstalling the offending package (here, scipy) with conda.

conda activate pyphi_dev
pip uninstall scipy
conda install scipy

Credit

Please cite these papers if you use this code:

Mayner WGP, Marshall W, Albantakis L, Findlay G, Marchman R, Tononi G. (2018) PyPhi: A toolbox for integrated information theory. PLOS Computational Biology 14(7): e1006343. https://doi.org/10.1371/journal.pcbi.1006343

@article{mayner2018pyphi,
  title={PyPhi: A toolbox for integrated information theory},
  author={Mayner, William GP and Marshall, William and Albantakis, Larissa and Findlay, Graham and Marchman, Robert and Tononi, Giulio},
  journal={PLoS Computational Biology},
  volume={14},
  number={7},
  pages={e1006343},
  year={2018},
  publisher={Public Library of Science},
  doi={10.1371/journal.pcbi.1006343},
  url={https://doi.org/10.1371/journal.pcbi.1006343}
}

Albantakis L, Oizumi M, Tononi G (2014). From the Phenomenology to the Mechanisms of Consciousness: Integrated Information Theory 3.0. PLoS Comput Biol 10(5): e1003588. doi: 10.1371/journal.pcbi.1003588.

@article{iit3,
    title={From the Phenomenology to the Mechanisms of Consciousness:
    author={Albantakis, Larissa AND Oizumi, Masafumi AND Tononi, Giulio},
    Integrated Information Theory 3.0},
    journal={PLoS Comput Biol},
    publisher={Public Library of Science},
    year={2014},
    month={05},
    volume={10},
    pages={e1003588},
    number={5},
    doi={10.1371/journal.pcbi.1003588},
    url={http://dx.doi.org/10.1371%2Fjournal.pcbi.1003588}
}

This project is inspired by a previous project written in Matlab by L. Albantakis, M. Oizumi, A. Hashmi, A. Nere, U. Olcese, P. Rana, and B. Shababo.

Correspondence regarding this code and the PyPhi paper should be directed to Will Mayner, at [email protected]. Correspondence regarding the Matlab code and the IIT 3.0 paper should be directed to Larissa Albantakis, PhD, at [email protected].

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].