Name: testsuite::test_bernoulli_synapse - test of bernoulli_synapse connection

Synopsis:

(test_bernoulli_synapse) run -&gt; measure average number of spikes transmitted 
by a Bernoulli synapse (static synapse with stochastic transmission)


Description:

1000 spikes generated by spike_generator are sent to a parrot neuron using a 
bernoulli_synapse with transmission probability 25%. Transmission is mediated 
by another parrot neuron that is connected to spike_generator via static synapse. 
If the average number of spikes detected by spike detectors is within three 
standard deviations from the mean of the binomial distribution, the synapse 
works fine. Also tests the interval of possible probabilities, [0, 1].


Author:

Maximilian Schmidt, Milena Menezes Carvalho


FirstVersion:

June 2017


Source:

/var/www/debian/nest/nest-simulator-2.20.0/testsuite/unittests/test_bernoulli_synapse.sli
