Simulation code for the papers:
Avalanches in a Stochastic Model of Spiking Neurons Marc Benayoun, Jack D. Cowan, Wim van Drongelen, Edward Wallace. PLoS Computational Biology, July 8, 2010. DOI: 10.1371/journal.pcbi.1000846
and
Emergent Oscillations in Networks of Stochastic Spiking Neurons Edward Wallace, Marc Benayoun, Wim van Drongelen, Jack D. Cowan. PLoS ONE, May 6, 2011. DOI: 10.1371/journal.pone.0014804
This code, written in Matlab, performed all simulations in both papers. It implements the Gillespie algorithm for a continuous-time Markov (asynchronous) network of two-state spiking neurons.
The code was last updated in 2010 and is not actively maintained.
Please let me know if you find it useful, at ewjwallace .at. gmail.com