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

./a.out

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

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

Which produces a figure

screenshot

similar to figure 1 D in the paper.