23 #ifndef GINZBURG_NEURON_H
24 #define GINZBURG_NEURON_H
129 return rng->drand() <
c1_ * h +
c2_ * 0.5 * (1.0 + tanh(
c3_ * (h -
theta_) ));
Binary stochastic neuron with linear or sigmoidal gain function.
Definition: binary_neuron.h:48
Definition: lockptrdatum.h:40
gainfunction_ginzburg()
sets default parameters
Definition: ginzburg_neuron.h:113
binary_neuron< nest::gainfunction_ginzburg > ginzburg_neuron
Definition: ginzburg_neuron.h:132
const Name h("h")
Summed input to a neuron (Ginzburg neuron)
Definition: nest_names.h:158
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: ginzburg_neuron.cpp:36
double_t theta_
threshold of sigmoidal activation function
Definition: ginzburg_neuron.h:99
double_t c3_
gain factor of sigmoidal gain function
Definition: ginzburg_neuron.h:108
Definition: ginzburg_neuron.h:94
double_t c2_
prefactor of sigmoidal gain function
Definition: ginzburg_neuron.h:105
bool operator()(librandom::RngPtr rng, double_t h)
Definition: ginzburg_neuron.h:127
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double_t c1_
linear gain factor of gain function
Definition: ginzburg_neuron.h:102
void create()
Create the map.
Definition: recordables_map.h:118