This is the ipython (jupyter) notebook associated with the paper:

Muller SZ, Zadina AN, Abbott LF, Sawtell NB (2019) Continual Learning in a Multi-Layer Network of an Electric Fish. Cell
http://dx.doi.org/10.1016/j.cell.2019.10.020

This code was contributed by S.Z. Muller. A snapshot of requirements is provided in a sample_requirements.txt. However, it will likely work with packages with versions near these versions.

After you have installed NEURON and downloaded and extracted these files, please compile the mod files with nrnivmodl. Start the jupyter notebook and execute the cells in Generate plots.ipynb.

In a little under an hour the following images similar to panels in Fig 6B can be generated:

screenshot 1

Some extra figures, including sample of raw membrane potential traces and less smoothed rate traces:

screenshot 2

20191112 An update from S Muller renamed MG_constructed_by_Nate_Sawtell to MG_reconstructed_by_Nate_Sawtell and edited "Generate plots.ipynb" to supply a seed for Fig 6C and added plot code after figures.