source: project/release/4/9ML-toolkit/trunk/examples/MorrisLecar81.9ML @ 21581

Last change on this file since 21581 was 21581, checked in by Ivan Raikov, 10 years ago

9ML-toolkit: added new examples

File size: 704 bytes
Line 
1
2(*
3   Voltage oscillations in the barnacle giant muscle fiber, Morris C and Lecar H
4
5   Biophys J (1981) 35:193-213
6 
7*)
8 
9
10
11component MorrisLecar81 =
12struct
13
14  binding construct t V W  gl gk gca vl vk vca v1 v2 v3 v4 phi c Isyn =
15
16    return  [
17               [ minf (V) = 0.5 * (1 + (tanh ((V - v1) / v2))) ]
18               [ winf (V) = 0.5 * (1 + (tanh ((V - v3) / v4))) ]
19               [ lamw (V) = phi * (cosh ((V - v3) / (2 * v4))) ]
20               [ ica  (V) = gca * (minf (V) * ( vca - V))       ]
21               [ ik   (V) = gk  * (W * (vk - V))               ]
22               [ d (V t)  = (Isyn + (gl * (vl - V)) + ica(V) + ik(V)) / c ]
23               [ d (W t)  = lamw(V) *((winf(V) - W))                     ]
24            ]
25
26end
27
Note: See TracBrowser for help on using the repository browser.