Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revisionBoth sides next revision | ||
technical:poisson_spike_train [2021/10/12 04:44] – chunchung | technical:poisson_spike_train [2022/10/10 05:54] – chunchung | ||
---|---|---|---|
Line 2: | Line 2: | ||
<code python> | <code python> | ||
def gen_spikes(r, | def gen_spikes(r, | ||
- | ''' | + | ''' |
Parameters | Parameters | ||
---------- | ---------- | ||
- | r: | + | r: |
- | dt: time step | + | dt: Time step |
''' | ''' | ||
i = 0 | i = 0 |