Skip to content

[Question] Capturing arbitrary kintetics in NeuroML #187

@sanjayankur31

Description

@sanjayankur31

@ramcdougal asked on the chat channels:

I'm trying to write some NeuroML to capture arbitrary kinetics that I can then convert via pynml into a MOD file for simulation, and I'm getting close to understanding how to do it, but I'm not quite there... what I have is: https://www.dropbox.com/s/c1oqm6dvsd8u1ex/test6.nml?dl=0

Questions:

  • I thought putting species="k" would cause it to generate an "ik" not a nonspecific current... how do I do this?
  • It looks like the NeuronWriter only allows using one species at a time, with the possible exception of things that are calcium dependent. Is that true? If not, is there a way to have mgi here -- in our "potassium" channel model -- be what you'd get from "USEION mg READ mgi"
  • Conversion automatically includes an assigned of "celsius" in the generated MOD file; is this variable available in all exported formats or how can I write the nml such that it'll translate correctly to mod but also work on other platforms?
  • What's the intended role of the "conductance" parameter. Both it and gmax are automatically added to the MOD file, but the current calculation is forced to be ohmic (or ghk, or maybe a couple other fixed formats)... and that gion seems hard-coded in the NeuronWriter to be based on gmax not conductance?
  • Any gotchas I should be aware of with the NeuronWriter? I'm mostly basing my understanding of how to write NeuroML by trying things and seeing what happens when I translate to MOD files

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions