I must have misunderstood something about segments. with the following code :
Code: Select all
import neuron
from neuron import h
spine = h.Section()
spine.L = 10
spine.nseg = 10
for seg in spine.allseg():
print repr(seg.x)
Code: Select all
0.0
0.050000000000000003
0.15000000000000002
0.25
0.34999999999999998
0.44999999999999996
0.54999999999999993
0.64999999999999991
0.74999999999999989
0.84999999999999987
0.94999999999999984
1.0
I already know seg.x, seg.diam, what are the other attributes of seg ?
thanks a lot