This repo contains the scripts used to generate the figures (main and supplements) in Split-trial analysis reveals the information capacity of neural population codes. Since a large part of the project relied upon analyzing other people's data and using their methods for comparison, running many of these scripts relies upon having copies of these datasets/codebases on your own machine somewhere (see requirements).
- Python >3.11
- SciPy, numpy, matplotlib, sklearn
- Tensorflow 1.0
- ZIG Decoder code
- Dataset from Ajabi et al. Nature, 2023
- Code and dataset from Stringer et al. Cell, 2021
- Dataset from Bartolo et al. JNeuro, 2020 (request from authors, only needed for Fig 7.py)
git clone https://github.com/wei-bbc-lab/Split-Trial-Analysis.git
If you use the code, please reference:
- Le, Dylan, and Xue-Xin Wei. "Split trial analysis reveals the information capacity of neural population codes." bioRxiv (2025): 2025-11.