Skip to content

Neuron SWC import3d

Ben Cumming edited this page Sep 30, 2020 · 16 revisions

Neuron behavior with SWC

1-point soma:

1 1 0 0 0 10  -1  

Generates a soma with length=20 and diam=20

2-point soma:

1 1 0 0 -10 10 -1
2 1 0 0   0 10  1

Generates a soma with length=10 and diam=20

1-point soma and 1-point dendrite: (FAILS)

1 1 0   0 0 10  -1  
2 3 0 200 0 10   1   

Generates a soma with length=20 and diam=20 BUT no dendrite - the following warning is printed:

One point section Import3d_Section[1] ending at line 2 has been removed

1-point soma and 2-point dendrite:.

1 1 0   0 0 10  -1  
2 3 0   0 0 5    1   
3 3 0 200 0 10   2   

Generates a soma with length=20 and diam=20 ; and a dendrite with length=200 and diam=15

2-point soma and 1-point dendrite: (FAILS)

1 1 0 0 -10 10  -1  
2 1 0 0 0   10   1   
3 3 0 200 0 10   2   

Generates a soma with length=10 and diam=20 BUT no dendrite - the following warning is printed:

One point section Import3d_Section[1] ending at line 3 has been removed

2-point soma and 2-point dendrite:

1 1 0 0 -20 10  -1  
2 1 0 0 0   10   1   
3 3 0 0 0   10   2   
4 3 0 200 0 10   3   

Generates a soma with length=20 and diam=20 ; and a dendrite with length=200 and diam=20

This seems to indicate that the dendrite cannot get its proximal point from the soma.

2-point soma and two 1-point dendrites:

1 1 0 0 -20 10  -1  
2 1 0 0   0 10   1   
3 3 0 0  80 10   2   
4 3 0 0 -80 10   2   

Generates a soma with length=20 and diam=20 BUT no dendrite - the following warning are printed:.

One point section Import3d_Section[2] ending at line 4 has been removed
One point section Import3d_Section[1] ending at line 3 has been removed

2-point soma; 2-point dendrite; 1 point axon connected to the proximal end of the dendrite:

1 1 0 0 -20 10  -1  
2 1 0 0   0 10   1   
3 3 0 0   0 10   2   
4 3 0 0  80 10   3   
5 2 0 0 -80 10   3   

Generates a soma with length=20 and diam=20 ; and a dendrite with length=80 and diam=20; and an axon with length=80 and diam=20 - But the following warnings are generated

One point section Import3d_Section[1] ending at line 3 has been removed
    and child Import3d_Section[2] reattached
    and child Import3d_Section[3] reattached