Page 1 of 1

Does NEURON automatically update Equilibrium potential?

Posted: Mon May 12, 2008 4:49 pm
by gabrielleg
If I'm writing a mechanism for internal calcium accumulation that is similar to Example 9.6 for Extracellular Potassium Accumulation (in the NEURON Book), can I explicitly calculate a new equilibrium potential for calcium (eca) in that mechanism, or does NEURON update eca automatically without my having to write any code?

-g

Posted: Tue May 13, 2008 2:27 am
by ted
Good question.

If a section contains a mechanism that WRITEs an ionic concentration, NEURON will
automatically recompute the corresponding equilibrium potential on every fadvance().
For a more thorough discussion of this and other issues related to equilibrium potentials
and concentrations, see the documentation of ion_style() in the Programmer's Reference
http://www.neuron.yale.edu/neuron/stati ... #ion_style