-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kh2_nmodl.mod
91 lines (68 loc) · 2.08 KB
/
Kh2_nmodl.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
COMMENT
**************************************************
File generated by: neuroConstruct v1.6.0
**************************************************
This file holds the implementation in NEURON of the Cell Mechanism:
Kh2_nmodl (Type: Channel mechanism, Model: File Based Membrane Mechanism)
with parameters:
Max Conductance Density = 3.0E-9 mS um^-2
ENDCOMMENT
TITLE Anomalous rectifier
COMMENT
from "An Active Membrane Model of the Cerebellar Purkinje Cell
1. Simulation of Current Clamp in Slice"
"Anomalous Rectification in Neurons from Cat Sensorimotor Cortex
In Vitro" W.J.SPAIN, P.C.SCHWINDT, and W.E.CRILL
JOURNAL OF NEUROPHYSIOLOGY Vol 57, No.5
Taken from De Schutter model conversion from GENESIS by Jenny Davie, Arnd Roth,
Volker Steuber, Erik De Schutter & Michael Hausser 28.8.2004
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
}
NEURON {
SUFFIX Kh2_nmodl
USEION k READ ek WRITE ik :////PG/// Note!!! originally no 'READ ek' here, so it used -30 (below), ignoring external ek
RANGE gmax, gk, minf, nexp, ik
}
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
PARAMETER {
v (mV)
celsius = 37 (degC)
dt (ms)
gmax = 3.0E-4 (mho/cm2)
ek = -30 (mV)
}
STATE {
m
}
ASSIGNED {
ik (mA/cm2)
gk minf nexp
}
BREAKPOINT {
SOLVE states
gk = gmax *m
ik = gk* (v-ek)
}
UNITSOFF
INITIAL {
rates(v)
m = minf
}
PROCEDURE states() { :Computes state variables m,
rates(v) : at the current v and dt.
m = m + nexp*(minf-m)
}
PROCEDURE rates(v) { :Computes rate and other constants at current v.
:Call once from HOC to initialize inf at resting v.
LOCAL q10, tinc
TABLE minf,nexp DEPEND dt, celsius FROM -100 TO 100 WITH 200
q10 = 3^((celsius - 37)/10)
tinc = -dt * q10
:"m" potassium activation system
minf = 0.2/(1+exp((v+82)/7))
nexp = 1 - exp(tinc/36.8)
}
UNITSON