Stefan wrote:If i take a look on the help-files for SectionList i can't find a expression like ".append(any_section)".
Only ".append()" for current sections is given. Do you use another version of neuron, ted, or is this simply pseudocode?
No and no. It is just my stupid mistake. I use the List and Vector classes' append() method
all the time, and I just write foo.append(arg) as a reflex. Of course, SectionList's append()
is different!
append the currently accessed section to the list
means I should have written
Code: Select all
section1 seclist.append()
section2 seclist.append()
etc.. Sorry about that.
the difference between the plot from newPlotV() und the vm-vector. Could it be possible that newPlotV() shows the signal for a other position of alphasynapse?
I never use newPlotV() myself. I just tried it, and it brings up a graph whose plotlist
includes v(.5). This is interpreted as "v at the middle of the currently accessed section,"
which is vulnerable to anything that affects the identity of the currently accessed
section. You can check this for yourself.
This vulnerability is one reaon why I never use newPlotV().
So from this statement
Franzi wrote:I use newPlotV() to get a immediate graph of the voltage at the soma(0.5). I use the vm.record(&soma.v(0.5)) and vm.max()-function getting the maximum value in the program.
we know that the graph may or may not actually show soma.v(0.5).
Franzi wrote:These two (maximum) values (newPlotV() and vm.max()) are completely different! Whereas newPlotV() prints always the correct voltage values, satisfying the theory.
Unlike newPlotV(), there is nothing ambiguous about the effect of
vm.record(&soma.v(0.5))
which always records membrane potential at the middle of the soma, regardless of
what the currently accessed section might be. I hope that the "theory," whatever it is,
rests on a more secure foundation than the appearance of a graph that is produced
by newPlotV().
Stefan wrote:Can i get the exactly position of alphasynapse by measurement?
loc() returns the normalized distance from the 0 end of the section to which it has been
attached. The AlphaSynapse class does not have a method that returns the identity of
the section itself (presumably the programmer knows that, because the programmer
put it there). Knowing the section, and where it is attached, it is possible to find its path
distance from any point in the cell--see distance() in the Programmer's Reference.
If the cell was specified with 3D data, the xyz coordinates of a sections nodes can
be interpolated, but I don't think you were asking about that.