I found the wrong maximum values
Posted: Sun Mar 19, 2006 12:40 pm
Hello,
i want to meassure the current of a (complex) cell at soma(0.5) with one AlphaSynpase, which is put on dendrites frequently.
The problem is, that the graph, which is generated by the command newPlotV() before the code, shows an other signal developing as the maximum recorded by vm.record(&soma.v(0.5)), that means, the two maximum values are different.
The values i get have not a linear correlation as the theory says.
A simple program working on a simple cell gets the correct maximum values.
Now i would like to know if the code above is correct for finding the maximum current at the soma(0.5). Is there any better way?
Thank you for your help, Franzi
i want to meassure the current of a (complex) cell at soma(0.5) with one AlphaSynpase, which is put on dendrites frequently.
Code: Select all
vamplitude = new Vector()
for (; i<=1; i=i+lambda/L) {// loop over each node in dends
AlphaSynapse[0].loc(i) // put AlphaSynapse on this node
vm = new Vector()
vm.record(&soma.v(0.5))
synloc = AlphaSynapse[0].get_loc()
run()
maximum = vm.max() // find maximum element in vm
maximum -= v_init // epsp amplitude relative to baseline
vamplitude.append(maximum)
}The values i get have not a linear correlation as the theory says.
A simple program working on a simple cell gets the correct maximum values.
Now i would like to know if the code above is correct for finding the maximum current at the soma(0.5). Is there any better way?
Thank you for your help, Franzi