Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected unit of q_stc to pA in gif_psc_exp #3405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion models/gif_psc_exp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ nest::gif_psc_exp::update( Time const& origin, const long from, const long to )
if ( S_.r_ref_ == 0 ) // neuron is not in refractory period
{

S_.V_ = V_.P30_ * ( S_.I_stim_ + P_.I_e_ - S_.stc_ ) + V_.P33_ * S_.V_ + V_.P31_ * P_.E_L_
S_.V_ = V_.P30_ * ( S_.I_stim_ + P_.I_e_ - S_.stc_ * 1000.0 ) + V_.P33_ * S_.V_ + V_.P31_ * P_.E_L_
+ S_.I_syn_ex_ * V_.P21ex_ + S_.I_syn_in_ * V_.P21in_;

const double lambda = P_.lambda_0_ * std::exp( ( S_.V_ - S_.sfa_ ) / P_.Delta_V_ );
Expand Down
2 changes: 1 addition & 1 deletion models/gif_psc_exp.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The following parameters can be set in the status dictionary.
========= ========== ====================================================
**Spike adaptation and firing intensity parameters**
--------------------------------------------------------------------------
q_stc list of nA Values added to spike-triggered currents (stc)
q_stc list of pA Values added to spike-triggered currents (stc)
after each spike emission
tau_stc list of ms Time constants of stc variables
q_sfa list of mV Values added to spike-frequency adaptation
Expand Down
Loading