-
Notifications
You must be signed in to change notification settings - Fork 30
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
Generating current/voltage relationship files #5
Comments
Yes, that was removed due to the large number of i_*.lems.dat files produced. I've reenabled it, but made generating these files optional, using the -ivCurve option, e.g. this:
will generate (and save as ca_boyle.i_peak.dat) the holding voltages vs current for ca_boyle.channel.nml: Might be what you and @VahidGh need for generating the iv curves. Not all parameters above are required, but the erev parameter is very important to produce a correct IV curve... |
@pgleeson, that's great, thanks. |
Okay this is awesome! Thanks @pgleeson |
Edit: Got it to work. The plots weren't showing up because my terminal was fullscreen..... |
Great. Btw, you had 2 -clampDurations there and also erev of 50mV for k chan is probably wrong. Also no need for caConc... |
Ok, I just copied it from the example to see if could get some output. So ca_boyle can be run with two clamp durations? Are there two separate simulations or something? |
My mistake. Sorry... |
Ok, no sweat; we can chat about this in our meeting tomorrow! |
The ability to make a LEMS simulation that generates I/V relationships at each voltage was given by these lines in the template from Channelpedia.
The generated
i_*.lems.dat
files were used by Rayner's script to produce an I/V plot, which is useful for ChannelWorm's goal of comparing simulated and real ion channel data.PyNeuroML seems to have most of the functionality we need at this point, except that the built in template doesn't produce these files.
I'm wondering if we should implement this in the template used in PyNeuroML's channel analysis, or if there was a reason the functionality was removed (too many dat files perhaps?)
The text was updated successfully, but these errors were encountered: