Files and instructions to reproduce the figures
This repository contains the code to generate the figures from the PLOS CB 2020 paper (also on BioRxiv) by Tanguy Fardet and Anna Levina.
The codes are written in Python and require a working Python installation. Once you have this, you can install the Python libraries required to run the code via:
pip install -r requirements.txt
To run most of the codes, you will also need to install the NEST simulator (version 3 or greater).
The eLIF and mAdExp models developed in the paper as well as the instructions to run them are present on this repository. These codes use the NESTML version of the models.
With the previous instructions, you should be able to run most of the files via python name_of_the_file.py
.
There are two exceptions, Figures 7A and 7B, that are detailed below.
Figures 7A and 7B require the download of data from the Allen dataset through the allensdk
.
At the time of writing, this library requires an outdated version of numpy to install but is actually compatible with more recent versions.
I advise installing in a virtual environment, then reinstalling the up-to-date version of the other libraries using pip install --ignore-requires-python
to ignore the version requirements.