This repository contains the source code associated with the manuscript
Mayer, Balasubramanian, Walczak, Mora: How a well-adapting immune system remembers, PNAS 2019
It allows reproduction of all figures of the manuscript and also provides the simulation code.
The code uses Python 2.7+.
A number of standard scientific python packages are needed for the numerical simulations and visualizations. An easy way to install all of these is to install a Python distribution such as Anaconda.
Additionally the code also relies on the following two packages:
Every folder contains a file plot.py
which needs to be run to produce the figures. For a number of figures cosmetic changes were done in inkscape as a postprocessing step. In these cases the figures will not be reproduced precisely.
If you run into any difficulties running the code, feel free to contact us at andimscience@gmail.com
.
The source code is freely available under an MIT license. The plots are licensed under a Creative commons attributions license (CC-BY).