TITLE nap
:persisten sodium current with inactivation
NEURON {
SUFFIX napIn
USEION na READ ena WRITE ina
RANGE gbar, thegna, htau
GLOBAL minf, mtau, hinf
}
PARAMETER {
gbar = .0052085 (mho/cm2)
htau = 15 (ms)
eNa = 55 (mV)
ena (mV)
celsius (degC)
v (mV)
}
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(pS) = (picosiemens)
(um) = (micron)
}
ASSIGNED {
ina (mA/cm2)
thegna (mho/cm2)
minf hinf
mtau (ms)
}
STATE { m h}
: hier eigener Befehl
UNITSOFF
BREAKPOINT {
SOLVE states METHOD cnexp
trates(v)
thegna =gbar*m*h
ina = thegna * (v - eNa)
}
INITIAL {
trates(v)
m=minf
h=hinf
}
DERIVATIVE states {
trates(v)
m' = (minf-m)/mtau
h' = (hinf-h)/htau
}
PROCEDURE trates(vm) {
mtau = 1
minf = 1/(1+exp(-(v+52.3)/6.8))
hinf = 1/(1+exp((v+48)/10.0))
}
UNITSON