-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #806 from suny-downstate-medical-center/development
PR from development to master - VERSION 1.0.6
- Loading branch information
Showing
197 changed files
with
21,869 additions
and
3,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"mod_folder": "mod", | ||
"simConfig": "src/cfg.py", | ||
"python_run": "src/init.py", | ||
"netParams": "src/netParams.py" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
: $Id: CA1ih.mod,v 1.4 2010/12/13 21:35:47 samn Exp $ | ||
TITLE Ih CA3 | ||
|
||
UNITS { | ||
(mA) = (milliamp) | ||
(mV) = (millivolt) | ||
} | ||
|
||
NEURON { | ||
SUFFIX hcurrent | ||
NONSPECIFIC_CURRENT ih | ||
RANGE g, e, v50, htau, hinf | ||
RANGE gfactor | ||
} | ||
|
||
PARAMETER { | ||
celsius (degC) | ||
g= 0.0001 (mho/cm2) | ||
e= -30 (mV) | ||
v50=-82 (mV) | ||
gfactor = 1 | ||
} | ||
|
||
STATE { | ||
h | ||
} | ||
|
||
ASSIGNED { | ||
ih (mA/cm2) | ||
hinf | ||
htau (ms) | ||
v (mV) | ||
} | ||
|
||
PROCEDURE iassign () { ih=g*h*(v-e)*gfactor } | ||
|
||
BREAKPOINT { | ||
SOLVE states METHOD cnexp | ||
iassign() | ||
} | ||
|
||
DERIVATIVE states { | ||
rates(v) | ||
h'= (hinf- h)/ htau | ||
} | ||
|
||
INITIAL { | ||
rates(v) | ||
h = hinf | ||
iassign() | ||
} | ||
|
||
PROCEDURE rates(v (mV)) { | ||
UNITSOFF | ||
: HCN1 | ||
:hinf = 1/(1+exp(0.151*(v-v50))) | ||
:htau = exp((0.033*(v+75)))/(0.011*(1+exp(0.083*(v+75)))) | ||
|
||
: HCN2 | ||
hinf = 1/(1+exp((v-v50)/10.5)) | ||
htau = (1/(exp(-14.59-0.086*v)+exp(-1.87+0.0701*v))) | ||
UNITSON | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
: $Id: CA1ika.mod,v 1.2 2010/12/01 05:06:07 samn Exp $ | ||
TITLE Ika CA1 | ||
|
||
UNITS { | ||
(mA) = (milliamp) | ||
(mV) = (millivolt) | ||
} | ||
|
||
NEURON { | ||
SUFFIX kacurrent | ||
NONSPECIFIC_CURRENT ika, ikad | ||
RANGE g, gd, e, ninf, ntau, ndinf, ndtau, linf, ltau | ||
} | ||
|
||
PARAMETER { | ||
celsius (degC) | ||
g= 0.048 (mho/cm2) | ||
gd= 0 (mho/cm2) | ||
e= -90 (mV) | ||
} | ||
|
||
STATE { | ||
n | ||
nd : distal | ||
l | ||
} | ||
|
||
ASSIGNED { | ||
v (mV) | ||
ika (mA/cm2) | ||
ikad (mA/cm2) | ||
ninf | ||
ntau (ms) | ||
ndinf | ||
ndtau (ms) | ||
linf | ||
ltau (ms) | ||
} | ||
|
||
PROCEDURE iassign () { | ||
ika=g*n*l*(v-e) | ||
ikad=gd*nd*l*(v-e) | ||
} | ||
|
||
BREAKPOINT { | ||
SOLVE states METHOD cnexp | ||
iassign() | ||
} | ||
|
||
DERIVATIVE states { | ||
rates(v) | ||
n'= (ninf- n)/ ntau | ||
l'= (linf- l)/ ltau | ||
nd'= (ndinf-nd)/ndtau | ||
} | ||
|
||
INITIAL { | ||
rates(v) | ||
n = ninf | ||
l = linf | ||
iassign() | ||
} | ||
|
||
PROCEDURE rates(v (mV)) { | ||
LOCAL a, b | ||
UNITSOFF | ||
a = exp(-0.038*(1.5+1/(1+exp(v+40)/5))*(v-11)) | ||
b = exp(-0.038*(0.825+1/(1+exp(v+40)/5))*(v-11)) | ||
ntau=4*b/(1+a) | ||
if (ntau<0.1) {ntau=0.1} | ||
ninf=1/(1+a) | ||
|
||
a=exp(-0.038*(1.8+1/(1+exp(v+40)/5))*(v+1)) | ||
b=exp(-0.038*(0.7+1/(1+exp(v+40)/5))*(v+1)) | ||
ndtau=2*b/(1+a) | ||
if (ndtau<0.1) {ndtau=0.1} | ||
ndinf=1/(1+a) | ||
|
||
a = exp(0.11*(v+56)) | ||
ltau=0.26*(v+50) | ||
if (ltau<2) {ltau=2} | ||
linf=1/(1+a) | ||
UNITSON | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
: $Id: CA1ikdr.mod,v 1.2 2010/12/01 05:10:52 samn Exp $ | ||
TITLE IKDR CA1 | ||
|
||
UNITS { | ||
(mA) = (milliamp) | ||
(mV) = (millivolt) | ||
} | ||
|
||
NEURON { | ||
SUFFIX kdrcurrent | ||
NONSPECIFIC_CURRENT ik | ||
RANGE g, e, ninf, ntau | ||
} | ||
|
||
PARAMETER { | ||
celsius (degC) | ||
g = 0.010 (mho/cm2) | ||
e = -90 (mV) | ||
} | ||
|
||
STATE { | ||
n | ||
} | ||
|
||
ASSIGNED { | ||
v (mV) | ||
ik (mA/cm2) | ||
ninf | ||
ntau (ms) | ||
} | ||
|
||
PROCEDURE iassign () { ik=g*n*(v-e) } | ||
|
||
BREAKPOINT { | ||
SOLVE states METHOD cnexp | ||
iassign() | ||
} | ||
|
||
DERIVATIVE states { | ||
rates(v) | ||
n'= (ninf- n)/ ntau | ||
} | ||
|
||
INITIAL { | ||
rates(v) | ||
n = ninf | ||
iassign() | ||
} | ||
|
||
PROCEDURE rates(v (mV)) { | ||
LOCAL a, b | ||
UNITSOFF | ||
a = exp(-0.11*(v-13)) | ||
b = exp(-0.08*(v-13)) | ||
ntau=50*b/(1+a) | ||
if (ntau<2) {ntau=2} | ||
ninf=1/(1+a) | ||
UNITSON | ||
} | ||
|
Oops, something went wrong.