Skip to content

Commit 053e256

Browse files
authored
Merge pull request #348 from analkumar2/master
Corrected the K_AHP z gate and make_Ca y gate
2 parents c38c643 + a165432 commit 053e256

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/rdesigneur/rdesigneurProtos.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def make_Ca( name ):
239239
if ( x > EREST_ACT):
240240
yA[i] = 5.0 * math.exp( -50 * (x - EREST_ACT) )
241241
else:
242-
yA[i] = 0.0
242+
yA[i] = 5.0
243243
#yB[i] = 6.0 - yA[i]
244244
yB[i] = 5.0
245245
x += dx
@@ -336,6 +336,7 @@ def make_K_AHP( name ):
336336
K_AHP.Xpower = 0
337337
K_AHP.Ypower = 0
338338
K_AHP.Zpower = 1
339+
K_AHP.useConcentration = 1
339340

340341
zgate = moose.element( K_AHP.path + '/gateZ' )
341342
xmax = 0.02 # 20 micromolar.
@@ -348,7 +349,7 @@ def make_K_AHP( name ):
348349
x = zgate.min
349350
for i in range( zgate.divs + 1 ):
350351
zA[i] = min( 250.00 * CA_SCALE * x, 10 )
351-
zB[i] = 1.0
352+
zB[i] = 1.0 + zA[i]
352353
x = x + dx
353354

354355
zgate.tableA = zA

0 commit comments

Comments
 (0)