# Command: testsuite::test_bernoulli_synapse

NEST HelpDesk | Command Index | NEST Quick Reference

Name:

    testsuite::test_bernoulli_synapse - test of bernoulli_synapse connection

Synopsis:

    (test_bernoulli_synapse) run -> 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:

    /opt/conda/conda-bld/nest_1510213973486/work/nest-2.14.0/testsuite/unittests/test_bernoulli_synapse.sli

NEST HelpDesk | Command Index | NEST Quick Reference

© 2004 The NEST Initiative