03034584b3f094d6a8bda71958c03446a9b77e79,examples/IF_curve_LIF.py,,,#,10

Before Change


group = NeuronGroup(N, model=eqs, threshold="v>10 * mV",
                    reset="v = 0 * mV", refractory=5*ms)
group.v = 0 * mV
group.v0 = linspace(0 * mV, 20 * mV, N)

monitor = SpikeMonitor(group)

duration = 1 * second

After Change



run(duration)
plot(group.v0/mV, monitor.count / duration)
xlabel("v0 (mV)")
ylabel("Firing rate (sp/s)")
show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: brian-team/brian2
Commit Name: 03034584b3f094d6a8bda71958c03446a9b77e79
Time: 2014-10-04
Author: dan.goodman@ens.fr
File Name: examples/IF_curve_LIF.py
Class Name:
Method Name:


Project Name: brian-team/brian2
Commit Name: 03034584b3f094d6a8bda71958c03446a9b77e79
Time: 2014-10-04
Author: dan.goodman@ens.fr
File Name: examples/IF_curve_Hodgkin_Huxley.py
Class Name:
Method Name:


Project Name: brian-team/brian2
Commit Name: 03034584b3f094d6a8bda71958c03446a9b77e79
Time: 2014-10-04
Author: dan.goodman@ens.fr
File Name: examples/phase_locking.py
Class Name:
Method Name: