This repository accompanies the preprint "Mahuas, G., Buffet, T., Marre, O., Ferrari, U., & Mora, T. (2024). Strong, but not weak, noise correlations are beneficial for population coding." Read the preprint on arXiv.
It contains the code necessary to reproduce the results shown in Fig. 4, illustrating the effect of noise correlations on stimulus encoding at different spatial scales.
To reproduce panels 4B and 4C from precomputed data, run the notebook located at ./analyze/plot_panels.ipynb.
To redo the analysis from scratch, follow these steps in order:
- Run
simulate/simulate.shto generate the synthetic datasets. - Run
train_decoder/train_decoder.shto train the decoders. - Run
analyze/analyze_decoder.shto compute the mutual informations and the noise synergy from the decoders. - Plot the results using
analyze/plot_panels.ipynb.
The Bash scripts need to be made executable by running: chmod +x <script_name>.sh.