Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


examples:sim_poisson

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
examples:sim_poisson [2015/08/26 23:12] – [Some more options] zenkeexamples:sim_poisson [2015/08/31 16:47] – Fixes broken code close tag zenke
Line 2: Line 2:
  
 Simulates an array of Poisson processes to illustrate the use of [[manual:PoissonGroup]]. The output is written to a [[manual:ras]] file in the same directory. Simulates an array of Poisson processes to illustrate the use of [[manual:PoissonGroup]]. The output is written to a [[manual:ras]] file in the same directory.
 +
 +Full source code: [[https://github.com/fzenke/auryn/blob/master/examples/sim_poisson.cpp]]
 +
 +
 +===== Running code =====
  
 Running the example program ''sim_poisson'' yields an output like this one Running the example program ''sim_poisson'' yields an output like this one
Line 49: Line 54:
   --size arg            poisson group size   --size arg            poisson group size
   --seed arg            random seed   --seed arg            random seed
-<code>+</code>
 As you can see you can easily change a few key parameters of the simulation such as runtime, or the Poisson firing rate. It's always a good idea to export some paramters of your code through command line arguments. How this is done will become clearer in the examples. Things that require less flexibility, such as the structure of your simulation itself will be fixed in the simulation file, which is a file with C++ code. Let's have a look at this code in the present example now. As you can see you can easily change a few key parameters of the simulation such as runtime, or the Poisson firing rate. It's always a good idea to export some paramters of your code through command line arguments. How this is done will become clearer in the examples. Things that require less flexibility, such as the structure of your simulation itself will be fixed in the simulation file, which is a file with C++ code. Let's have a look at this code in the present example now.
  
examples/sim_poisson.txt · Last modified: 2016/02/04 17:39 by zenke