This project implements the Perturbational Complexity Index (PCI) from [1], which implements a 2D normalized version of the Lempel-Ziv Complexity (LZC) algorithm described in [2].
Dependencies:
- bitarray (>0.8.1) : https://pypi.python.org/pypi/bitarray
[1] Casali, Adenauer G, Olivia Gosseries, Mario Rosanova, Mélanie Boly, Simone Sarasso, Karina R Casali, Silvia Casarotto, et al. “A Theoretically Based Index of Consciousness Independent of Sensory Processing and Behavior.” Science Translational Medicine 5, no. 198 (August 2013): 198ra105-198ra105. doi:10.1126/scitranslmed.3006294. [2] Kaspar, F. and Schuster, H. G. “Easily Calculable Measure for the Complexity of Spatiotemporal Patterns.” Physical Review. A, General Physics 36, no. 2 (July 15, 1987): 842–48.