addng a parameter to mod file
Posted: Mon Jun 07, 2021 2:08 am
Hi,
I am trying to add a parameter that I can change that will affect the kitchens of the channel.
****
PROCEDURE rates(v(mV)) { :Computes rate and other constants at current v.
:Call once from HOC to initialize inf at resting v.
LOCAL alpha, beta, sum
TABLE minf, mtau, hinf, htau, ninf, ntau DEPEND celsius FROM -100 TO 100 WITH 200
UNITSOFF
q10 = 3^((celsius - 23)/10)
:"m" sodium activation system
alpha = -.182 * vtrap(-(v+46),6)
beta = -.124 * vtrap((v+46),6)
sum = alpha + beta
mtau = 0.25/(q10*sum)
minf = alpha/sum
:"h" sodium inactivation system
alpha = -0.015 * vtrap((v+69),6)
beta = -0.015 * vtrap(-(v+69),6)
sum = alpha + beta
htau = 1.1/(q10*sum)
hinf = alpha/sum
:"n" potassium activation system
alpha = .01*vtrap(-(v+55),10)
beta = .125*exp(-(v+65)/80)
sum = alpha + beta
ntau = 1/(q10*sum)
ninf = alpha/sum
}
****
I want to add a parameter to the mtau, so it will be mtau*p. and I can assign P a value.
how do I do this? is it possible?
thank you
Oron
I am trying to add a parameter that I can change that will affect the kitchens of the channel.
****
PROCEDURE rates(v(mV)) { :Computes rate and other constants at current v.
:Call once from HOC to initialize inf at resting v.
LOCAL alpha, beta, sum
TABLE minf, mtau, hinf, htau, ninf, ntau DEPEND celsius FROM -100 TO 100 WITH 200
UNITSOFF
q10 = 3^((celsius - 23)/10)
:"m" sodium activation system
alpha = -.182 * vtrap(-(v+46),6)
beta = -.124 * vtrap((v+46),6)
sum = alpha + beta
mtau = 0.25/(q10*sum)
minf = alpha/sum
:"h" sodium inactivation system
alpha = -0.015 * vtrap((v+69),6)
beta = -0.015 * vtrap(-(v+69),6)
sum = alpha + beta
htau = 1.1/(q10*sum)
hinf = alpha/sum
:"n" potassium activation system
alpha = .01*vtrap(-(v+55),10)
beta = .125*exp(-(v+65)/80)
sum = alpha + beta
ntau = 1/(q10*sum)
ninf = alpha/sum
}
****
I want to add a parameter to the mtau, so it will be mtau*p. and I can assign P a value.
how do I do this? is it possible?
thank you
Oron