-
Notifications
You must be signed in to change notification settings - Fork 0
/
CaP_nmodl.mod
108 lines (79 loc) · 2.42 KB
/
CaP_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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
COMMENT
**************************************************
File generated by: neuroConstruct v1.6.0
**************************************************
This file holds the implementation in NEURON of the Cell Mechanism:
CaP_nmodl (Type: Channel mechanism, Model: File Based Membrane Mechanism)
with parameters:
Max Conductance Density = 4.5E-8 mS um^-2
ENDCOMMENT
TITLE P calcium current
COMMENT
from "An Active Membrane Model of the Cerebellar Purkinje Cell
1. Simulation of Current Clamp in Slice"
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 CaP_nmodl
USEION ca READ eca WRITE ica
RANGE gmax, ica, gca, minf, hinf, mexp, hexp
}
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
PARAMETER {
v (mV)
cao = 2.4 (mM) : external ca concentration
cai (mM)
celsius = 37 (degC)
dt (ms)
gmax = 0.0045 (mho/cm2)
}
STATE {
m h
}
ASSIGNED {
ica (mA/cm2)
gca (mho/cm2)
eca
minf hinf mexp hexp
}
BREAKPOINT {
SOLVE states
gca = gmax * m*h
ica = gca* (v-eca)
}
UNITSOFF
INITIAL {
rates(v)
m = minf
h = hinf
}
PROCEDURE states() { :Computes state variables m, h
rates(v) : at the current v and dt.
m = m + mexp*(minf-m)
h = h + hexp*(hinf-h)
}
PROCEDURE rates(v) { :Computes rate and other constants at current v.
:Call once from HOC to initialize inf at resting v.
LOCAL q10, tinc, alpha, beta, sum
TABLE minf, mexp, hinf, hexp DEPEND dt, celsius FROM -100 TO 150 WITH 250 : PG altered this to above eca for testing...
q10 = 3^((celsius - 37)/10)
tinc = -dt * q10
:"m" calcium activation system
alpha = 8.5/(1+exp((v-8)/(-12.5)))
beta = 35/(1+exp((v+74)/14.5))
sum = alpha + beta
minf = alpha/sum
mexp = 1 - exp(tinc*sum)
:"h" calcium inactivation system
alpha = 0.0015/(1+exp((v+29)/8))
beta = 0.0055/(1+exp((v+23)/(-8)))
sum = alpha + beta
hinf = alpha/sum
hexp = 1 - exp(tinc*sum)
}
UNITSON