Understanding swc code
Posted: Mon May 26, 2008 3:34 pm
Hello,
I am trying to understand how swc code gets converted into hoc code after I import morphometric data from Neuromorpho.org and save it as a hoc file using CellBuilder. I'm confused about one thing: when points are connected in series in the swc code, how does the program decide when to create a new section (eg, a new dendrite)? Here is an example of part of an swc code:
35 3 9.25 3.19 2.15 0.431 1
36 3 11.91 8.19 2.15 0.469 35
37 3 13.16 11.47 2.15 0.469 36
38 3 14.82 13.96 6.23 0.469 37
39 3 17.66 14.72 10.65 0.391 38
In the first line here, a new dendrite has been created that is attached to the soma. But between lines 38 and 39, the hoc code indicated that a new dendrite had been created. Basically what I'm asking is, how are new sections of the same type (such as dendrites) specified for in swc code?
Also, I just want to confirm my understanding: in a section that contains many points, each with a specific diameter, does NEURON treat this as a single section with one recalculated diameter and one length?
Thanks so much in advance.
I am trying to understand how swc code gets converted into hoc code after I import morphometric data from Neuromorpho.org and save it as a hoc file using CellBuilder. I'm confused about one thing: when points are connected in series in the swc code, how does the program decide when to create a new section (eg, a new dendrite)? Here is an example of part of an swc code:
35 3 9.25 3.19 2.15 0.431 1
36 3 11.91 8.19 2.15 0.469 35
37 3 13.16 11.47 2.15 0.469 36
38 3 14.82 13.96 6.23 0.469 37
39 3 17.66 14.72 10.65 0.391 38
In the first line here, a new dendrite has been created that is attached to the soma. But between lines 38 and 39, the hoc code indicated that a new dendrite had been created. Basically what I'm asking is, how are new sections of the same type (such as dendrites) specified for in swc code?
Also, I just want to confirm my understanding: in a section that contains many points, each with a specific diameter, does NEURON treat this as a single section with one recalculated diameter and one length?
Thanks so much in advance.