Hi,
I'm trying to reprouce the shape of an action potential, and in order to make a better fit I want to fit the dV/dt vs V phase plot, in addition to (or instead of) the common V vs t plot.
If I understood well this thread, I can easily obtain dV/dt by plotting i_cap (capacitative membrane current) as long as I am dealing with a single compartment, which is my case. In fact, I can do a very nice phase plane plot of my simulated action potentials. But I can not see how to creat a Fitness Generator with it.
What kind of Generator should I use? specially, I don't know how to specify a fitness generator in which the x variable is not time.
Thanks in advance for your answers!!
Fitting the dV/dt vs V plot

 Site Admin
 Posts: 5887
 Joined: Wed May 18, 2005 4:50 pm
 Location: Yale University School of Medicine
 Contact:
Actually dV/dt is equal to i_cap, regardless of fhe number of compartments. Total ionic
current in a compartment is equal to i_cap only if there is one compartment. I apoloogize
If my comments in the referenced thread were confused or induced confusion in others.
That is, do you really want the error function, that you are minimizing, to be one that
emphasizes those regions of the trajectory in which dV/dt and V are both large? i.e. in
which V changing rapidly and far from rest. It will allow greater error near the depolarized
and hyperpolarized extrema (may not matter much), but the biggest degradation of fit will
be in the nearthreshold region, where V is near rest and changing slowly. That sounds like
a bad idea, since this is where the cell is "thinking" about whether or not to spike.
independent variable. Neither v nor dv/dt would be an independent variable, nor would they
be monotonically increasing.
You _could_ abandon the MRF altogether, and just use praxis through hoc code. You'd
have to define an objective function to be minimized (e.g. the area between the "ideal"
phase plot and the actual trajectory), being careful to scale both axes to achieve the
desired weighting of amplitude and velocity.
If you prefer to stick with the MRF, set up two fitness generators: both would have t as
the independent variable, but the dependent variable would be v in one, and dv/dt in the
other.
current in a compartment is equal to i_cap only if there is one compartment. I apoloogize
If my comments in the referenced thread were confused or induced confusion in others.
An interesting idea. First question is: does it make sense for your particular application?fit the dV/dt vs V phase plot
That is, do you really want the error function, that you are minimizing, to be one that
emphasizes those regions of the trajectory in which dV/dt and V are both large? i.e. in
which V changing rapidly and far from rest. It will allow greater error near the depolarized
and hyperpolarized extrema (may not matter much), but the biggest degradation of fit will
be in the nearthreshold region, where V is near rest and changing slowly. That sounds like
a bad idea, since this is where the cell is "thinking" about whether or not to spike.
You can't. The x axis of the fitness generator has to be a monotonically increasingI can do a very nice phase plane plot of my simulated action potentials. But I can not see how to creat a Fitness Generator with it.
independent variable. Neither v nor dv/dt would be an independent variable, nor would they
be monotonically increasing.
You _could_ abandon the MRF altogether, and just use praxis through hoc code. You'd
have to define an objective function to be minimized (e.g. the area between the "ideal"
phase plot and the actual trajectory), being careful to scale both axes to achieve the
desired weighting of amplitude and velocity.
If you prefer to stick with the MRF, set up two fitness generators: both would have t as
the independent variable, but the dependent variable would be v in one, and dv/dt in the
other.
Last edited by ted on Sun Jun 01, 2008 11:10 am, edited 1 time in total.

 Site Admin
 Posts: 5887
 Joined: Wed May 18, 2005 4:50 pm
 Location: Yale University School of Medicine
 Contact:
A slight variation on the theme I proposed:
convert the sequence of points from cartesian (v, dv/dt, t) to polar coordinates (r, theta, t),
relative to a wellchosen* "center" in the (v, dv/dt) plane. Then use the MRF to fit the model
to the time courses of r and theta.
*somewhere in the middle of the spike's loop in the v, dv/dt planemaybe halfway between
the x & y axis extrema, or maybe a "weighted" center (i.e. the mean values of v and dv/dt
in the course of a spike).
convert the sequence of points from cartesian (v, dv/dt, t) to polar coordinates (r, theta, t),
relative to a wellchosen* "center" in the (v, dv/dt) plane. Then use the MRF to fit the model
to the time courses of r and theta.
*somewhere in the middle of the spike's loop in the v, dv/dt planemaybe halfway between
the x & y axis extrema, or maybe a "weighted" center (i.e. the mean values of v and dv/dt
in the course of a spike).