This is the readme for the C++ computer code associated with the paper:

Hutt et al. (2016) Dynamic Control of Synchronous Activity in Networks of Spiking Neurons PLOS ONE

These files were contributed by Jeremie Lefebvre.

Example use:

You can compile for example with g++ on a mac:

g++ Periodic\ Forcing.cpp

and the run with a command like


After a short time data files are produced which you could graph for example in matlab:

b=load('SS  -  PSD.txt');
hold on; plot(b(:,1),b(:,3))

Which produces a figure


similar to figure 1 D in the paper.