f7e48fd7823b3421915162113ca58c2a4ab3e128,brian2/tests/test_stateupdaters.py,,test_multiplicative_noise,#,187
Before Change
net1 = Network(group1)
net1.run(10*ms)
except UnsupportedEquationsException:
assert True
try:
Eq2 = Equations("dv/dt = (t/ms)*xi*(5*ms)**-0.5 :1")
group2 = NeuronGroup(1, Eq2, method = "euler")
After Change
// One of the equations has multiplicative noise
Eq4 = Equations("""dv/dt = xi_1*(5*ms)**-0.5 : 1
dw/dt = (t/ms)*xi_2*(5*ms)**-0.5 :1""")
group4 = NeuronGroup(1, Eq4, method="euler")
net4 = Network(group4)
assert_raises(UnsupportedEquationsException, net4.run, 0*ms)
// One of the equations has multiplicative noise
Eq5 = Equations("""dv/dt = xi_1*(5*ms)**-0.5 : 1
dw/dt = v*xi_2*(5*ms)**-0.5 :1""")
group5 = NeuronGroup(1, Eq5, method="euler")
net5 = Network(group4)
assert_raises(UnsupportedEquationsException, net5.run, 0*ms)
@with_setup(setup=store_randn, teardown=restore_randn)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: brian-team/brian2
Commit Name: f7e48fd7823b3421915162113ca58c2a4ab3e128
Time: 2019-06-12
Author: marcel.stimberg@inserm.fr
File Name: brian2/tests/test_stateupdaters.py
Class Name:
Method Name: test_multiplicative_noise
Project Name: brian-team/brian2
Commit Name: 29e648b5c12e6ab8c463126d104872741372aafb
Time: 2014-02-28
Author: marcel.stimberg@ens.fr
File Name: brian2/tests/test_stateupdaters.py
Class Name:
Method Name: test_locally_constant_check
Project Name: brian-team/brian2
Commit Name: 48711a0fcc54ee0d07b110e1fe28b79382cafcb5
Time: 2015-11-09
Author: marcel.stimberg@inserm.fr
File Name: brian2/tests/test_refractory.py
Class Name:
Method Name: test_refractoriness_types