examples:sim_poisson
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
examples:sim_poisson [2015/08/26 23:12] – [Some more options] zenke | examples: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: | Simulates an array of Poisson processes to illustrate the use of [[manual: | ||
+ | |||
+ | Full source code: [[https:// | ||
+ | |||
+ | |||
+ | ===== Running code ===== | ||
Running the example program '' | Running the example program '' | ||
Line 49: | Line 54: | ||
--size arg poisson group size | --size arg poisson group size | ||
--seed arg random seed | --seed arg random seed | ||
- | < | + | </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, | 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, | ||
examples/sim_poisson.txt · Last modified: 2016/02/04 17:39 by zenke