distance measurement
Posted: Wed Sep 07, 2005 9:29 am
Hi,
Another very basic question, but I could not find an answer in the forum or elsewhere:
I have a morphological model of a pyramidal cell and I am trying to determine voltage attenuation in the cell depending on the distance to the soma.
The cell builder (after importing the morphology / or cvapp) shows me that the "length" of the apical dendrite (measured from the soma) is <600 µm. Also, in the pt3add statements is no value bigger than 600.
If I call distance(.5) during a loop for accessing all segments of the apical dendrite the values for the distant dendrites returned are bigger than 700 µm.
Many thanks for a hint!
Ulli
The essential loop looks like this:
Another very basic question, but I could not find an answer in the forum or elsewhere:
I have a morphological model of a pyramidal cell and I am trying to determine voltage attenuation in the cell depending on the distance to the soma.
The cell builder (after importing the morphology / or cvapp) shows me that the "length" of the apical dendrite (measured from the soma) is <600 µm. Also, in the pt3add statements is no value bigger than 600.
If I call distance(.5) during a loop for accessing all segments of the apical dendrite the values for the distant dendrites returned are bigger than 700 µm.
Many thanks for a hint!
Ulli
The essential loop looks like this:
Code: Select all
for i=0, 0 {
cells[i]= new pc1()
cells[i].soma stim[i] = new IClamp(.5)
stim[i].del=200
stim[i].dur=500
stim[i].amp=0.8
access cells[i].soma[0]
distance()
for k=0, len-1{
access cells[i].apic[k]
dist.x[k]=distance(.5)
print dist.x[k]
for j=0, n-1{T[k].x[j]=j*deltat}
cvode.record(&cells[i].apic[k].v(.5),V[k],T[k],1)
}
}