You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the jLEMS simulator, I can find out the path of a desired variable by using Menu > Simulation > Dump simulation info button.
I then use that path in the quantity field of a Display/Line or a Output/Column element. This works in jLEMS and results in a plot with the variable changing over time, and there are no warnings or errors in the console.... E.g:
However, when I use the -neuron flag, for some variables I get the expected plot, while for others I get an empty plot, with the NEURON console showing e.g. "Graph:: presently invalid expression: a_CG_LTS_ModelDB[0].Soma.channelf(0.5)". In NEURON, the v plot shows up ok, but the channelf shows 0 values throughout the sim window.
This suggests that there are two different sets of allowable/supported quantity paths for LEMS and NEURON. I cannot find any documentation on what is universally supported, vs. supported in jLEMS only, vs. supported in NEURON only. So, is there a set of rules that can be used to determine if a quantity that is safe for jLEMS will also work in NEURON too?
I could modify the resulting NEURON code after jnml generates it, but I'm looking for a simulator-independent way to reliably set the quantity in the LEMS file.
The text was updated successfully, but these errors were encountered:
For channels you will usually need to record the current or conductance densities, and paths like hhpop[0]/bioPhys1/membraneProperties/naChans/iDensity and hhpop[0]/bioPhys1/membraneProperties/kChans/gDensity should work in Neuron.
Usually if something is not supported in Neuron, it's just that I haven't gotten round to testing/implementing that type of path yet. There has been some work updating the supported paths in Neuron on the development version recently, so pull down the latest code and you might have more success.
Using the jLEMS simulator, I can find out the path of a desired variable by using Menu > Simulation > Dump simulation info button.
I then use that path in the quantity field of a Display/Line or a Output/Column element. This works in jLEMS and results in a plot with the variable changing over time, and there are no warnings or errors in the console.... E.g:
However, when I use the -neuron flag, for some variables I get the expected plot, while for others I get an empty plot, with the NEURON console showing e.g. "Graph:: presently invalid expression: a_CG_LTS_ModelDB[0].Soma.channelf(0.5)". In NEURON, the v plot shows up ok, but the channelf shows 0 values throughout the sim window.
This suggests that there are two different sets of allowable/supported quantity paths for LEMS and NEURON. I cannot find any documentation on what is universally supported, vs. supported in jLEMS only, vs. supported in NEURON only. So, is there a set of rules that can be used to determine if a quantity that is safe for jLEMS will also work in NEURON too?
I could modify the resulting NEURON code after jnml generates it, but I'm looking for a simulator-independent way to reliably set the quantity in the LEMS file.
The text was updated successfully, but these errors were encountered: