Skip to content

Commit

Permalink
Merge pull request #1485 from DHRUVJ2003/formula
Browse files Browse the repository at this point in the history
Formula update for Izhikevich_2007 Example
  • Loading branch information
mstimberg authored Sep 21, 2023
2 parents 2c382ca + 814970b commit 76545b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/frompapers/Izhikevich_2007.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
3500, 3550, 4000, 4010, 4500, 4510])*ms
spike_input = SpikeGeneratorGroup(2, input_indices, input_times)

neurons = NeuronGroup(2, '''dv/dt = (ge * (Ee-vr) + El - v) / taum : volt
neurons = NeuronGroup(2, '''dv/dt = (ge * (Ee-v) + El - v) / taum : volt
dge/dt = -ge / taue : 1''',
threshold='v>vt', reset='v = vr',
method='exact')
method='euler')
neurons.v = vr
neurons_monitor = SpikeMonitor(neurons)

Expand Down

0 comments on commit 76545b0

Please sign in to comment.