Structure of state variables. More...
Public Member Functions | |
| State_ () | |
| Default constructor. | |
| void | get (Dictionary &, const Parameters_ &) const |
| Get the state variables and their values. | |
| void | set (const Dictionary &, const Parameters_ &, double, Node *) |
| Set the state variables. | |
Public Attributes | |
| double | i_in_ |
| Input current (pA). | |
| double | v_m_ |
| Membrane voltage relative to the leak membrane potential (mV). | |
| long | r_ |
| Number of remaining refractory steps. | |
| double | refr_spikes_buffer_ |
| Count of spikes arriving during refractory period discounted for decay until end of refractory period. | |
| double | z_ |
| Binary spike state variable - 1.0 if the neuron has spiked in the previous time step and 0.0 otherwise. | |
| double | adapt_ |
| Adaptation variable. | |
| double | v_th_adapt_ |
| Adapting spike threshold voltage. | |
| double | learning_signal_ |
| Learning signal. Sum of weighted error signals coming from the readout neurons. | |
| double | surrogate_gradient_ |
| Surrogate gradient / pseudo-derivative of the membrane voltage. | |
Structure of state variables.
| nest::eprop_iaf_psc_delta_adapt::State_::State_ | ( | ) |
Default constructor.
References adapt_, i_in_, learning_signal_, r_, refr_spikes_buffer_, surrogate_gradient_, v_m_, v_th_adapt_, and z_.
| void nest::eprop_iaf_psc_delta_adapt::State_::get | ( | Dictionary & | d, |
| const Parameters_ & | p ) const |
Get the state variables and their values.
References adapt_, nest::names::adaptation(), nest::names::learning_signal(), learning_signal_, nest::names::surrogate_gradient(), surrogate_gradient_, nest::names::V_m(), v_m_, nest::names::V_th_adapt(), and v_th_adapt_.
| void nest::eprop_iaf_psc_delta_adapt::State_::set | ( | const Dictionary & | d, |
| const Parameters_ & | p, | ||
| double | delta_EL, | ||
| Node * | node ) |
Set the state variables.
References adapt_, nest::names::adaptation(), nest::update_value_param(), nest::names::V_m(), v_m_, and v_th_adapt_.
Referenced by nest::eprop_iaf_psc_delta_adapt::set_status().
| double nest::eprop_iaf_psc_delta_adapt::State_::adapt_ |
| double nest::eprop_iaf_psc_delta_adapt::State_::i_in_ |
Input current (pA).
Referenced by State_().
| double nest::eprop_iaf_psc_delta_adapt::State_::learning_signal_ |
| long nest::eprop_iaf_psc_delta_adapt::State_::r_ |
Number of remaining refractory steps.
Referenced by State_().
| double nest::eprop_iaf_psc_delta_adapt::State_::refr_spikes_buffer_ |
Count of spikes arriving during refractory period discounted for decay until end of refractory period.
Referenced by State_().
| double nest::eprop_iaf_psc_delta_adapt::State_::surrogate_gradient_ |
| double nest::eprop_iaf_psc_delta_adapt::State_::v_m_ |
| double nest::eprop_iaf_psc_delta_adapt::State_::v_th_adapt_ |
| double nest::eprop_iaf_psc_delta_adapt::State_::z_ |
Binary spike state variable - 1.0 if the neuron has spiked in the previous time step and 0.0 otherwise.
Referenced by State_().