TITLE Low threshold calcium current : INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)} NEURON { SUFFIX car USEION ca READ cai,cao WRITE ica RANGE pbar, minf, taum, hinf, tauh, shift, shifth GLOBAL qm, qh } UNITS { (molar) = (1/liter) (mV) = (millivolt) (mA) = (milliamp) (mM) = (millimolar) FARADAY = (faraday) (coulomb) R = (k-mole) (joule/degC) } PARAMETER { v (mV) celsius (degC) pbar =.4e-4 (cm/s) : Maximum Permeability shift = 2 (mV) : corresponds to 2mM ext Ca++ shifth = 0 (mV) : inactivation shift cai (mM) :2.4e-4 (mM) adjusted foreca=120 mV cao (mM) qm = 1 : q10's for activation and inactivation qh = 1 : from Coulter et al., J Physiol 414: 587, 1989 offm = -23 offh = -79 offmt = -23 offht = -79 slom = 7.4 sloh = 7.8 slomt = 31.25 sloht = 21.2765957 taummax = 5.5 tauhmax = 771 } STATE { m h } ASSIGNED { ica (mA/cm2) minf taum (ms) hinf tauh (ms) phim phih } BREAKPOINT { SOLVE castate METHOD cnexp ica = pbar * m*m*h * ghk(v, cai, cao) } DERIVATIVE castate { evaluatefct(v) m' = (minf - m) / taum h' = (hinf - h) / tauh } UNITSOFF INITIAL { phim = qm ^ ((celsius-24)/10) phih = qh ^ ((celsius-24)/10) evaluatefct(v) m = minf h = hinf } PROCEDURE evaluatefct(v(mV)) { : minf = 1/(1+exp((offm-(v+shift))/slom)) hinf = 1/(1+exp(-(offh-(v+shifth))/sloh)) taum = (taummax/(cosh((offmt-(v+shift))/slomt)))/phim tauh = (tauhmax/(cosh((offht-(v+shifth))/sloht)))/phih } FUNCTION ghk(v(mV), ci(mM), co(mM)) (.001 coul/cm3) { LOCAL z, eci, eco z = (1e-3)*2*FARADAY*v/(R*(celsius+273.15)) eco = co*efun(z) eci = ci*efun(-z) :high cao charge moves inward :negative potential charge moves inward ghk = (.001)*2*FARADAY*(eci - eco) } FUNCTION efun(z) { if (fabs(z) < 1e-4) { efun = 1 - z/2 }else{ efun = z/(exp(z) - 1) } } FUNCTION nongat(v,cai,cao) { : non gated current nongat = pbar * ghk(v, cai, cao) } UNITSON