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.
fit the dV/dt vs V phase plot
An interesting idea. First question is: does it make sense for your particular application?
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 near-threshold 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.
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.
You can't. The x axis of the fitness generator has to be a monotonically increasing
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.