Arguments to addvar?
Posted: Wed Aug 20, 2008 11:29 pm
In the code I'm using from the book, the addvar process is typically fed six arguments (e.g., listing 6.3):
g.addvar("soma.v(0.5)",1,1,0.6,0.9,2) [1].
However, from the hoc reference online (http://www.neuron.yale.edu/neuron/stati ... tml#addvar), the different ways to call addvar include:
g.addvar("variable")
g.addvar("variable", color_index, brush_index)
g.addvar("label", "variable")
g.addvar("label", "variable", color_index, brush_index)
Because I understand it better, I've been cutting out a bunch of the arguments in [1], using something like:
g.addvar("soma.v(0.5)",1,1) [2].
Will using [2] instead of [1] get me in any trouble?
Also, and what is the meaning of all the arguments to addvar in [1]?
g.addvar("soma.v(0.5)",1,1,0.6,0.9,2) [1].
However, from the hoc reference online (http://www.neuron.yale.edu/neuron/stati ... tml#addvar), the different ways to call addvar include:
g.addvar("variable")
g.addvar("variable", color_index, brush_index)
g.addvar("label", "variable")
g.addvar("label", "variable", color_index, brush_index)
Because I understand it better, I've been cutting out a bunch of the arguments in [1], using something like:
g.addvar("soma.v(0.5)",1,1) [2].
Will using [2] instead of [1] get me in any trouble?
Also, and what is the meaning of all the arguments to addvar in [1]?