I am new in NEURON and I am trying to find out in which file does the membrane potential (v) has its expression ( the differential equation that is used probably). I would highly appreciate if someone could provide me that voltage equation that NEURON is using and the file_name that it is in the documents.
Thank you in advance
Membrane Potential Equation

 Site Admin
 Posts: 5919
 Joined: Wed May 18, 2005 4:50 pm
 Location: Yale University School of Medicine
 Contact:
Re: Membrane Potential Equation
Good question. There is no such file. Creating a section gives you the spatially discretized cable equation with no ionic membrane current, i.e. a charge balance equation that states
capacitive membrane current in a compartment = net current entering the compartment from adjacent compartments
but you don't see the equationNEURON sets up internal data structures that represent it. You add membrane ionic currents by adding one or more "mechanisms" into a section. A "mechanism" is basically a bag of equations that describe the properties of a membrane currentwhat ionic species carries the current, the time, voltage, and liganddependence of the dynamics of the conductance through which the current flows. But the syntax for adding a mechanism does not involve those equations. Instead, the description of a mechanism is written in a programming language called NMODL and saved to a file which is then compiled to produce a library that NEURON loads when it starts.
You might find it helpful to read
https://neuron.yale.edu/neuron/static/p ... /nctoc.htm
(you might prefer to download the pdf)
and
https://neuron.yale.edu/neuron/static/p ... /nmodl.htm
capacitive membrane current in a compartment = net current entering the compartment from adjacent compartments
but you don't see the equationNEURON sets up internal data structures that represent it. You add membrane ionic currents by adding one or more "mechanisms" into a section. A "mechanism" is basically a bag of equations that describe the properties of a membrane currentwhat ionic species carries the current, the time, voltage, and liganddependence of the dynamics of the conductance through which the current flows. But the syntax for adding a mechanism does not involve those equations. Instead, the description of a mechanism is written in a programming language called NMODL and saved to a file which is then compiled to produce a library that NEURON loads when it starts.
You might find it helpful to read
https://neuron.yale.edu/neuron/static/p ... /nctoc.htm
(you might prefer to download the pdf)
and
https://neuron.yale.edu/neuron/static/p ... /nmodl.htm
Re: Membrane Potential Equation
Dear ted,
Thank you for your detailed answer.
Thank you for your detailed answer.