Skip to content
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

The same conductance for different channels in nml files #49

Closed
VahidGh opened this issue Jul 26, 2015 · 6 comments
Closed

The same conductance for different channels in nml files #49

VahidGh opened this issue Jul 26, 2015 · 6 comments

Comments

@VahidGh
Copy link
Member

VahidGh commented Jul 26, 2015

@pgleeson, Channel nml files for Boyle&Cohen 2008 model, all have the same conductance value (10ps) and different from conductance values described in this notebook file and generated by this script.
I also found the same value for other examples of NeuroML2 channel files.
If it is OK, then how different conductance values could be used in neuroML2 files? and which one is preferred?

@pgleeson
Copy link
Member

There's an important distinction between the conductance of an individual channel (set in ionChannel .. conductance="10pS") and the conductance density of a distributed conductance on a cell (set in biophysicalProperties/membraneProperties/channelDensity condDensity).

The former is only really relevant when you think of the "ion channel" as a single individual channel which opens and allows a current with a time varying conductance. The latter is what's actually used in the cell models, and is different for each of the ion channels used in channelDensity elements.

@VahidGh
Copy link
Member Author

VahidGh commented Jul 28, 2015

So what if we would need to keep it inside the channel file, independent of the cell file?
Do you recommend this? or we should have both the cell file and the channel file for each model?

@pgleeson
Copy link
Member

In short, yes, they're 2 different things. One is a property of the channel itself (which is not really used much and could be set to zero) and the other is only relevant for when you place it on an actual cell and need to say the density at which that particular conductance is present on the cell. So a value for conductance density shouldn't be put in the channel file.

@VahidGh
Copy link
Member Author

VahidGh commented Jul 31, 2015

@pgleeson, OK, thanks. Is there any neat python code I can use for generating channel, cell, and LEMS file for an ion channel?

@pgleeson
Copy link
Member

pgleeson commented Aug 6, 2015

@VahidGh
Copy link
Member Author

VahidGh commented Aug 6, 2015

Was so useful, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants