Wrong unit of q_stc in gif_psc_exp #3287
Labels
good first issue
Good for newcomers
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
stale
Automatic marker for inactivity, please have another look here
T: Maintenance
Work to keep up the quality of the code and documentation.
The description of the neuron model gif_psc_exp states that the adaptive current q_stc is given as a list of nA. I think this has to be pA.
I can not find a conversion between nA and pA in models/gif_psc_exp.cpp or models/gif_psc_exp.h, but the sum of all adaptive currents gets added to the parameter I_e which is given in pA.
nest-simulator/models/gif_psc_exp.cpp
Line 357 in 6bed7e3
S_.V_ = V_.P30_ * ( S_.I_stim_ + P_.I_e_ - S_.stc_ ) + V_.P33_ * S_.V_ + V_.P31_ * P_.E_L_
+ S_.I_syn_ex_ * V_.P21ex_ + S_.I_syn_in_ * V_.P21in_;
The text was updated successfully, but these errors were encountered: