Structure of parameters. More...
Public Member Functions | |
| Parameters_ () | |
| Default constructor. | |
| void | get (Dictionary &) const |
| Get the parameters and their values. | |
| double | set (const Dictionary &, Node *) |
| Set the parameters and throw errors in case of invalid values. | |
Public Attributes | |
| double | C_m_ |
| Capacitance of the membrane (pF). | |
| double | c_reg_ |
| Coefficient of firing rate regularization. | |
| double | E_L_ |
| Leak / resting membrane potential (mV). | |
| double | f_target_ |
| Target firing rate of rate regularization (spikes/s). | |
| double | I_e_ |
| Constant external input current (pA). | |
| bool | regular_spike_arrival_ |
| If True, the input spikes arrive at the beginning of the time step, if False at the end (determines PSC scale). | |
| std::string | surrogate_gradient_function_ |
| double | surrogate_gradient_height_ |
| Height scaling of surrogate gradient / pseudo-derivative of membrane voltage. | |
| double | surrogate_gradient_width_ |
| Width scaling of surrogate gradient / pseudo-derivative of membrane voltage. | |
| double | t_ref_ |
| Duration of the refractory period (ms). | |
| double | tau_m_ |
| Time constant of the membrane (ms). | |
| double | V_min_ |
| Absolute lower bound of the membrane voltage relative to the leak membrane potential (mV). | |
| double | V_th_ |
| Spike threshold voltage relative to the leak membrane potential (mV). | |
Structure of parameters.
| nest::eprop_iaf_bsshslm_2020::Parameters_::Parameters_ | ( | ) |
Default constructor.
References C_m_, c_reg_, E_L_, f_target_, I_e_, regular_spike_arrival_, surrogate_gradient_function_, surrogate_gradient_height_, surrogate_gradient_width_, t_ref_, tau_m_, V_min_, and V_th_.
| void nest::eprop_iaf_bsshslm_2020::Parameters_::get | ( | Dictionary & | d | ) | const |
Get the parameters and their values.
References nest::names::C_m(), C_m_, nest::names::c_reg(), c_reg_, nest::names::E_L(), E_L_, nest::names::f_target(), f_target_, nest::names::I_e(), I_e_, nest::names::regular_spike_arrival(), regular_spike_arrival_, nest::names::surrogate_gradient_function(), surrogate_gradient_function_, nest::names::surrogate_gradient_height(), surrogate_gradient_height_, nest::names::surrogate_gradient_width(), surrogate_gradient_width_, nest::names::t_ref(), t_ref_, nest::names::tau_m(), tau_m_, nest::names::V_min(), V_min_, nest::names::V_th(), and V_th_.
| double nest::eprop_iaf_bsshslm_2020::Parameters_::set | ( | const Dictionary & | d, |
| Node * | node ) |
Set the parameters and throw errors in case of invalid values.
References nest::names::C_m(), C_m_, nest::names::c_reg(), c_reg_, nest::EpropArchivingNodeRecurrent< hist_shift_required >::compute_surrogate_gradient_, nest::names::E_L(), E_L_, nest::eprop_iaf_bsshslm_2020::eprop_iaf_bsshslm_2020(), nest::names::f_target(), f_target_, nest::EpropArchivingNodeRecurrent< hist_shift_required >::find_surrogate_gradient(), nest::names::I_e(), I_e_, nest::names::regular_spike_arrival(), regular_spike_arrival_, nest::names::surrogate_gradient_function(), surrogate_gradient_function_, nest::names::surrogate_gradient_height(), surrogate_gradient_height_, nest::names::surrogate_gradient_width(), surrogate_gradient_width_, nest::names::t_ref(), t_ref_, nest::names::tau_m(), tau_m_, nest::update_value_param(), nest::names::V_min(), V_min_, nest::names::V_th(), and V_th_.
Referenced by nest::eprop_iaf_bsshslm_2020::set_status().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::C_m_ |
Capacitance of the membrane (pF).
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::c_reg_ |
Coefficient of firing rate regularization.
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::E_L_ |
Leak / resting membrane potential (mV).
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::f_target_ |
Target firing rate of rate regularization (spikes/s).
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::I_e_ |
Constant external input current (pA).
Referenced by get(), Parameters_(), and set().
| bool nest::eprop_iaf_bsshslm_2020::Parameters_::regular_spike_arrival_ |
If True, the input spikes arrive at the beginning of the time step, if False at the end (determines PSC scale).
Referenced by get(), Parameters_(), and set().
| std::string nest::eprop_iaf_bsshslm_2020::Parameters_::surrogate_gradient_function_ |
Surrogate gradient / pseudo-derivative function of the membrane voltage ["piecewise_linear", "exponential", "fast_sigmoid_derivative", "arctan_derivative"]
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::surrogate_gradient_height_ |
Height scaling of surrogate gradient / pseudo-derivative of membrane voltage.
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::surrogate_gradient_width_ |
Width scaling of surrogate gradient / pseudo-derivative of membrane voltage.
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::t_ref_ |
Duration of the refractory period (ms).
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::tau_m_ |
Time constant of the membrane (ms).
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::V_min_ |
Absolute lower bound of the membrane voltage relative to the leak membrane potential (mV).
Referenced by get(), Parameters_(), and set().
| double nest::eprop_iaf_bsshslm_2020::Parameters_::V_th_ |
Spike threshold voltage relative to the leak membrane potential (mV).
Referenced by get(), Parameters_(), and set().