Posted: Wed Feb 13, 2008 9:28 pm
Dear Ted
I have two questions, the first is conceptual while the second is on coding.
1) The standard way NEURON calculates the current distribution within a cell is without taking into account any extracellular effects on the voltage. On the other hand, the presence of any transmembrane current (action potentials, synaptic currents, etc.) will, at least locally, also change the extracellular voltage at the membrane.
I was wondering whether NEURON's standard model (i.e., without using) takes this into account.
I am asking because I wrote a script that using calculates this local changes of V_out = V_m + V_in due to the presence of active processes in the vicinity of the node. I wanted to make sure that this was not already accounted for in the standard model (i.e., in the absence of ).
2) Regarding the same issue, I am using the following code to read the transmembrane current at each node at every time-step. Then I use Ohm's law to calculate the contribution of nearby nodes to the extracellular voltage of every node. In this particular code I want to read the surface area and the transmembrane current from all nodes of the soma and save them in Vectors area_x and i_membr.
It seems though that i_membrane(x) is not saved in i_membr.x[ii]. While i_membrane(x) is nonzero for 0=<x=<1, when I check all values of the i_membr vector are zero. That even happens when I define them initially as nonzero through:
i_membr = new Vector(n_size, some nonzero value)
I was wondering whether you have an idea about what is happening here.
I have two questions, the first is conceptual while the second is on coding.
1) The standard way NEURON calculates the current distribution within a cell is without taking into account any extracellular effects on the voltage. On the other hand, the presence of any transmembrane current (action potentials, synaptic currents, etc.) will, at least locally, also change the extracellular voltage at the membrane.
I was wondering whether NEURON's standard model (i.e., without using
Code: Select all
insert extracellular
I am asking because I wrote a script that using
Code: Select all
insert extracellular
Code: Select all
insert extracellular
2) Regarding the same issue, I am using the following code to read the transmembrane current at each node at every time-step. Then I use Ohm's law to calculate the contribution of nearby nodes to the extracellular voltage of every node. In this particular code I want to read the surface area and the transmembrane current from all nodes of the soma and save them in Vectors area_x and i_membr.
Code: Select all
forall insert extracellular
objref area_x, i_membr
area_x = new Vector(n_size)
i_membr = new Vector(n_size)
soma {
for (x, 0) {
area_x.x[ii] = area(x)
i_membr.x[ii] = i_membrane(x)
ii += 1
}
}
i_membr = new Vector(n_size, some nonzero value)
I was wondering whether you have an idea about what is happening here.