Skip to content

Commit 8e6b914

Browse files
committed
black
1 parent 3e157c6 commit 8e6b914

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testsuite/pytests/sli2py_neurons/test_iaf_psc_exp_ps_lossless.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@
2929
The first part of this test is exactly the same as test_iaf_psc_exp_ps,
3030
demonstrating the numerical equivalency of both models in usual conditions.
3131
The only difference between the models, which is tested in the second part,
32-
is the detection of double threshold crossings during a simulation step
32+
is the detection of double threshold crossings during a simulation step
3333
(so the membrane potential is again below V_th at the end of the step)
3434
by the lossless model.
3535
3636
The second part tests whether the lossless spike detection algorithm [1] is
3737
working correctly.
3838
39-
The algorithm checks whether a spike is emitted on the basis of the neurons position
39+
The algorithm checks whether a spike is emitted on the basis of the neurons position
4040
in state space. There are 4 regions in state space (see [1]): NS1, NS2, S1 and S2.
4141
S1 corresponds to threshold crossings that would also be detected by the lossy
4242
implementation /iaf_psc_exp_ps. S2 corresponds to crossings that would be missed.
4343
The lossless model detects both.
4444
4545
The test brings 3 neurons into the state space regions NS2, S1 and S2,
46-
which is done by keeping their membrane potential close to threshold and then
46+
which is done by keeping their membrane potential close to threshold and then
4747
sending a single spike to them, which, received via different synaptic weights,
4848
sets the synaptic current such that the neurons are in the respective region.
4949
The existence and precise times of the resulting spikes are compared to reference data.

0 commit comments

Comments
 (0)