-
Notifications
You must be signed in to change notification settings - Fork 2
/
icaolmw.mod
51 lines (40 loc) · 1.05 KB
/
icaolmw.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
: $Id: icaolmw.mod,v 1.2 2010/11/30 16:44:13 samn Exp $
COMMENT
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//
// NOTICE OF COPYRIGHT AND OWNERSHIP OF SOFTWARE
//
// Copyright 2007, The University Of Pennsylvania
// School of Engineering & Applied Science.
// All rights reserved.
// For research use only; commercial use prohibited.
// Distribution without permission of Maciej T. Lazarewicz not permitted.
//
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(mS) = (millisiemens)
}
NEURON {
SUFFIX ICaolmw
USEION ca WRITE ica
RANGE gca,eca
}
PARAMETER {
gca = 1 (mS/cm2)
eca = 120 (mV)
}
ASSIGNED {
ica (mA/cm2)
v (mV)
}
PROCEDURE iassign () { ica = (1e-3) * gca * mcainf(v)^2 * (v-eca) }
INITIAL {
iassign()
}
BREAKPOINT { iassign() }
FUNCTION mcainf(v(mV)) { mcainf = fun2(v, -20, 1, -9)*1(ms) }
INCLUDE "aux_fun.inc"