Hello,
h.psection(sec=Section) seems to only give you info on the first segment only. How can i see the other segments assuming nseg >1.
Best,
psection and segments
Moderator: hines
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: psection and segments
Suppose soma contains a density mechanism with SUFFIX na whose density is specified by the RANGE variable gbar. Thenshould tell you how gbar_na varies along the length of soma.
Code: Select all
for seg in soma:
print seg.x, seg.gbar_na