Creating plots from GUI while running Python model
Posted: Thu May 26, 2016 12:39 pm
Hello,
I'm new to NEURON and Python but I've managed to make a couple of simple models. The problem is when I try to create a new plot from the GUI, the variable I want isn't available. For example, if I click "current axis" to generate a new graph and then right click and select "Plot What?", I select "All" from the dropdown but my cell (say, CellA) isn't available in the first column as it would be if the model were written with HOC.
I can get it to plot if I type, for instance, ina(0.5) directly into the "Plot What?" prompt but something like CellA.soma.ina(0.5) creates an error. I hope I've explained the problem sufficiently, any help would be greatly appreciated!
I'm new to NEURON and Python but I've managed to make a couple of simple models. The problem is when I try to create a new plot from the GUI, the variable I want isn't available. For example, if I click "current axis" to generate a new graph and then right click and select "Plot What?", I select "All" from the dropdown but my cell (say, CellA) isn't available in the first column as it would be if the model were written with HOC.
I can get it to plot if I type, for instance, ina(0.5) directly into the "Plot What?" prompt but something like CellA.soma.ina(0.5) creates an error. I hope I've explained the problem sufficiently, any help would be greatly appreciated!