34 os <<
" " << I.
t <<
" ";
35 os <<
" " << I.
baseV <<
" ";
36 os <<
" " << I.
N <<
" ";
37 for (
int i= 0; i < I.
N; i++) {
46 fprintf(stderr,
"# DT %f \n",
DT);
62 gNaHH[trg]= gNaHH[src];
63 ENaHH[trg]= ENaHH[src];
74 for (
int n= 0; n < NPOP; n++) {
82 for (
int n= 0; n < NPOP; n++) {
134 double mdt=
DT/100.0;
135 for (mt=0; mt < 100; mt++) {
136 IsynGHH= 200.0*(stepVGHH-
Vexp);
141 double _a= (3.5+0.1*
Vexp) / (1.0-exp(-3.5-0.1*
Vexp));
142 double _b= 4.0*exp(-(
Vexp+60.0)/18.0);
144 _a= 0.07*exp(-
Vexp/20.0-3.0);
145 _b= 1.0 / (exp(-3.0-0.1*
Vexp)+1.0);
147 _a= (-0.5-0.01*
Vexp) / (exp(-5.0-0.1*
Vexp)-1.0);
148 _b= 0.125*exp(-(
Vexp+60.0)/80.0);
160 I.
st.push_back(10.0);
161 I.
V.push_back(-30.0);
162 I.
st.push_back(20.0);
163 I.
V.push_back(-60.0);
165 I.
st.push_back(40.0);
166 I.
V.push_back(-20.0);
167 I.
st.push_back(50.0);
168 I.
V.push_back(-60.0);
170 I.
st.push_back(70.0);
171 I.
V.push_back(-10.0);
172 I.
st.push_back(80.0);
173 I.
V.push_back(-60.0);
175 I.
st.push_back(100.0);
177 I.
st.push_back(110.0);
178 I.
V.push_back(-60.0);
180 I.
st.push_back(130.0);
182 I.
st.push_back(140.0);
183 I.
V.push_back(-60.0);
185 I.
st.push_back(160.0);
187 I.
st.push_back(170.0);
188 I.
V.push_back(-60.0);
189 assert((I.
N == I.
V.size()) && (I.
N == I.
st.size()));
double Elexp
Definition: helper.h:102
void runexpHH(float t)
Definition: helper.h:129
double EKexp
Definition: helper.h:100
void var_reinit(double fac)
Definition: helper.h:71
ostream & operator<<(ostream &os, inputSpec &I)
Definition: helper.h:32
double nexp
Definition: helper.h:96
void write_para()
Definition: helper.h:44
double mexp
Definition: helper.h:94
double glexp
Definition: helper.h:101
void copy_var(int src, int trg)
Definition: helper.h:60
double sigEK
Definition: helper.h:27
randomGauss RG
Definition: gen_kcdn_syns.cc:34
double gNaexp
Definition: helper.h:97
double sigENa
Definition: helper.h:25
double sigEl
Definition: helper.h:29
double n()
Method for obtaining a random number with Gaussian distribution.
Definition: gauss.cc:75
float myHH_ini[11]
Definition: HHVClamp.cc:26
double t
Definition: VClampGA.h:41
double Cexp
Definition: helper.h:103
void single_var_reinit(int n, double fac)
Definition: helper.h:49
double sigGl
Definition: helper.h:28
void truevar_init()
Definition: helper.h:80
double ENaexp
Definition: helper.h:98
void truevar_initexpHH()
Definition: helper.h:120
#define DT
This defines the global time step at which the simulation will run.
Definition: currentModel.cc:21
double hexp
Definition: helper.h:95
void initI(inputSpec &I)
Definition: helper.h:155
double sigC
Definition: helper.h:30
double Vexp
Definition: helper.h:93
double gKexp
Definition: helper.h:99
void initexpHH()
Definition: helper.h:105
double sigGK
Definition: helper.h:26
double sigGNa
Definition: helper.h:24