tapered dendrites
Posted: Wed Jun 08, 2016 11:43 am
Hello,
I build a model by using the cell builder to generate the hoc code. I then altered it to get tapered dendrites but it does'nt seem to work. I did not get any errors and the model is running but when I check the geometry with the shape plot (show diam) tool ,; dendrites are not tapered.
Here is the modified code :
for some dendrites I just altered the code from dend2[1].diam =2 to dend2[1].diam(0:1) =2:05 to get it tapered
is it correct ?
Thanks a lot
fabien
I build a model by using the cell builder to generate the hoc code. I then altered it to get tapered dendrites but it does'nt seem to work. I did not get any errors and the model is running but when I check the geometry with the shape plot (show diam) tool ,; dendrites are not tapered.
Here is the modified code :
Code: Select all
proc geom() {
forsec all { }
soma.L = 25
dend1.L = 50
dend1[1].L = 50
dend1[2].L = 50
dend1_1.L = 500
dend1_1[1].L = 500
dend1_1[2].L = 500
dend2.L = 200
dend2[1].L = 200
dend2[2].L = 200
dend2[3].L = 200
SDI.L = 20
SIprox.L = 25
SIdistal.L = 25
axon.L = 800
dend2[4].L = 200
soma.diam = 25
dend1.diam = 3
dend1[1].diam = 2.5
dend1[2].diam = 2
dend1_1.diam(0:1) = 2:0.5
dend1_1[1].diam(0:1) = 2:0.5
dend1_1[2].diam(0:1) = 2:0.5
dend2.diam(0:1) = 2:0.5
dend2[1].diam(0:1) = 2:0.5
dend2[2].diam(0:1) = 2:0.5
dend2[3].diam(0:1) = 2:0.5
SDI.diam = 1.5
SIprox.diam = 1.2
SIdistal.diam = 1
axon.diam = 0.8
dend2[4].diam(0:1) = 2:0.5
}
proc geom_nseg() {
forsec all { nseg = int((L/(0.01*lambda_f(100))+.999)/2)*2 + 1 }
is it correct ?
Thanks a lot
fabien