-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print out values from python / matlab implementations and compare with values from NeuroML2 #28
Comments
@pgleeson looking a bit more into your commit, it sounds like you did this, yes? |
There is still the issue of the factor which changes the calcium current into changes in [Ca+], thiCa. Related to @VahidGh's comment here: https://gitter.im/openworm/muscle_model on 27 Jan. Still looking into this... |
As for this issue, I guess this line should be replaced with
So my argument is, if the CDI/VDI in calcium current, should be effective in the final output (by some magnitude), why by removing these equations, nothing happens?! and if they are effective but the combination of values for inactivation parameters are in a way that causing ineffectiveness of the equations (causing the resultant of ~1 for calcium inactivation expressions), how can we correct the model? or better saying, is there any way to validate a model not only based on the closeness of the final output to experiments, but the validity of each part (e.g. inactivation effect here) and the final output in compare with experiments?! P.S. there are two typos in the Boyle & Cohen paper, one with k_f which is written as +5, that should be -5 mv. (although, as you know, in such studies it's common to use positive values for k, and instead using the minus in the inactivation expression, but as there is no difference between activation/inactivation expressions in this model, the authors decide to use minus for all inactivation k values.) |
Sorry, I didn't try to test my suggestion for this issue when I was commenting. |
@pgleeson, Is there a way that I can solve the error I mentioned by myself? or this requires some change in the NeuroML2 format? |
Regarding the issue of the inactivation curves not having too much of an effect on the ca current due to the specific parameters shown, these plots show the neuron/muscle example with (left) and without (right) inactivation (both of gates f and h removed from the ca_boyle.nml): It's a small difference, but there are changes in the currents vars and the ca conc. I'd say the best approach is to try to reach the point that we're sure the NeuroML2 version is as close as possible to the original version (using input.csv), and then retune/refine the models (constraining as best we can each individual part) to produce a better version for the network model. Looking at the nml2_thiCa issue... |
Regarding the thiCa value, I've updated the rho value in the nml2 file in this commit: a65e674, and now the values for thiCa match in compareToNeuroML2.py. I believe thiCa should just be the rho factor divided by the surface area, see http://www.neuroml.org/NeuroML2CoreTypes/Cells.html#fixedFactorConcentrationModel. Can you double check this @VahidGh? restingConc isn't really a factor in this calculation. This refers to the default ca conc the "pool" will tend to when no ca current is flowing. In the original model the resting conc is 0. I just put in a non zero value originally since usually a zero here can lead to infinities, but thankfully not in this case (the reversal potential of ca channels is fixed rather than calcualted from internal/external conc via the nernst eqn). |
@pgleeson, thanks for your explanations. For the thiCa issue, my suggestion was based on this calculation, in which I guess 6 mM is the Ca concentration in the external solution (and not the resting concentration as you suggested), I guess this value probably coming from this experiment, and if the calculation is true, so dividing by |
Moved from a follow on to #13
@pgleeson wrote:
The text was updated successfully, but these errors were encountered: