-
Notifications
You must be signed in to change notification settings - Fork 2
/
caintra1.mod
73 lines (50 loc) · 1.1 KB
/
caintra1.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
TITLE caintra1
: Intracellular calcium for sk channels
: From Nicoletti et al. PloS One 2019 (https://doi.org/10.1371/journal.pone.0218738)
: "Biophysical modeling of the whole-cell dynamics of C. elegans motor and interneurons families"
: M. Nicoletti et al. PloS ONE, 19(3): e0298105.
: https://doi.org/10.1371/journal.pone.0298105
NEURON {
SUFFIX caintra1
USEION ca READ ica,eca
RANGE vol, surf
GLOBAL ca_eq,Fc,calcium
}
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
FARADAY = (faraday) (coulombs)
PI = (pi) (1)
(molar) = (1/liter)
(mM) = (millimolar)
(um)= (micrometer)
}
PARAMETER {
vol=7.42e-12 (cm3)
surf=65.89e-8 (cm2)
fca = 0.001
tca = 50 (ms)
ca_eq= 0.05e-6 (M)
eca (mV)
Fc=96485 (coul)
}
ASSIGNED { ica (mA/cm2)
calcium (M)
}
STATE { caintra }
INITIAL{
caintra=ca_eq
}
BREAKPOINT {
SOLVE state METHOD cnexp
calcium=caintra
}
DERIVATIVE state {
LOCAL rs
if (ica<=0){
rs=fca*(-((1/(2*vol*Fc))*(ica*surf*1e-3)))-((caintra-ca_eq)/tca)
} else {
rs=-((caintra-ca_eq)/tca)
}
caintra'=rs
}