;; Cerebellar Purkinje Cell: resurgent Na current and high frequency ;; firing (Khaliq et al 2003). (nemo-model K2 ((input v (cai from ion-pools) (ica from ion-currents)) (const ena = 60) (const ek = -88) (const ca0 = 1e-4) (component (type gate-complex) (name K2) ;; HH Low TEA-sensitive Purkinje potassium current (component (type gate) ;; constants ;; rate functions (K2_v = (v + 11)) ;; account for junction potential (K2_minf = (let ((mivh -24) (mik 20.4)) (1 / (1 + exp ((neg(K2_v - mivh)) / mik))))) (K2_mtau = ((1e3) * (if (K2_v < -20) then (0.000688 + 1 / (exp ((K2_v + 64.2) / 6.5) + exp ((K2_v - 141.5) / -34.8))) else (0.00016 + 0.0008 * exp (-0.0267 * K2_v))))) (hh-ionic-gate (K2 ;; ion name: exported variables will be of the form {ion}_{id} (initial-m (K2_minf)) (m-power 4) (h-power 0) (m-inf (K2_minf)) (m-tau (K2_mtau)))) ) (component (type pore) (const gbar_K2 = 0.002) (output gbar_K2 )) (component (type permeating-ion) (name k) (const e_K2 = ek) (output e_K2 )) ) ;; end K2 current ))