single resistor as gap junction and connecting cells
Posted: Wed Aug 09, 2006 6:49 pm
What's the best way to model gap junctions?
I'm trying to model a fly heart, I have the single fly heart cells build using channel builder and inserted new mechs, and I want to couple them together with gap junctions. Right now I have done this by creating 20 inidividual cells with 20 cell builders and then using linear circuit builder, connecting them via a single resistor between each cells, in a line.
However, now I wanted to change some parameters for each of the cells, diam and L, and I was hoping to use hoc and a for-loop.
ii=1
for (ii=1; ii<21; ii+=1) access soma_ii
{diam=8 L=50 gnabar_Inaf=0.00078 gCaL_ICaL=0.0005
gKr_IKr= 0.000588 gKs_IKs=0.001 gto_Ito=0.0006}
all my cells are named soma_1, soma_2, and etc, I don't know how I can access each different cells as the above code won't let me do that, as it doesn't understand this soma_ii deal.
Is this the best way to model a gap junction in this case?
I stimulate the first cell using a Iclamp, and it'll generate an action potential, but that seems to die off after 5 or 6 cells, is this a problem with the single cell or is it because of the resistors. I was thinking if my resistor value is not big enough, after the current is delivered to about the 3rd cells, it would leak and not have enough to get it to the threshold value....
Thanks in advance!
I'm trying to model a fly heart, I have the single fly heart cells build using channel builder and inserted new mechs, and I want to couple them together with gap junctions. Right now I have done this by creating 20 inidividual cells with 20 cell builders and then using linear circuit builder, connecting them via a single resistor between each cells, in a line.
However, now I wanted to change some parameters for each of the cells, diam and L, and I was hoping to use hoc and a for-loop.
ii=1
for (ii=1; ii<21; ii+=1) access soma_ii
{diam=8 L=50 gnabar_Inaf=0.00078 gCaL_ICaL=0.0005
gKr_IKr= 0.000588 gKs_IKs=0.001 gto_Ito=0.0006}
all my cells are named soma_1, soma_2, and etc, I don't know how I can access each different cells as the above code won't let me do that, as it doesn't understand this soma_ii deal.
Is this the best way to model a gap junction in this case?
I stimulate the first cell using a Iclamp, and it'll generate an action potential, but that seems to die off after 5 or 6 cells, is this a problem with the single cell or is it because of the resistors. I was thinking if my resistor value is not big enough, after the current is delivered to about the 3rd cells, it would leak and not have enough to get it to the threshold value....
Thanks in advance!