Measuring longitudinal intracellular current

The basics of how to develop, test, and use models.
Post Reply
ssothro
Posts: 13
Joined: Mon Feb 06, 2006 5:12 pm

Measuring longitudinal intracellular current

Post by ssothro »

Hi all,
I am interested in the longitudinal current that flows intracellularly through the Ra resistors in a cell model. Does NEURON keep this current in a variable accessible to the user? If not is there an easy way to calculate this current?

Thanks.
Raj
Posts: 220
Joined: Thu Jun 09, 2005 1:09 pm
Location: Groningen, The Netherlands
Contact:

Post by Raj »

ssothro
Posts: 13
Joined: Mon Feb 06, 2006 5:12 pm

Post by ssothro »

"Code:
dend { iax = ( v(0.01) - v(0) ) / ri(0.01) }

This assumes that dend.nseg < 100. "

What if section dend has nseg=1? Is the above formula still valid?
Raj
Posts: 220
Joined: Thu Jun 09, 2005 1:09 pm
Location: Groningen, The Netherlands
Contact:

Post by Raj »

From the description of ri one can conclude that nseg=1 is a fine choice, because it assures that the points 0 and 0.01 are in the same segment. Which is requirement of ri to give the correct answer.

You can also do a little test yourself. Take three sections, connect them, clamp both outer sections and see if the functions you used are behaving as you would expect them to.
Post Reply