Page 1 of 1
arbitrary segment lengths
Posted: Tue Jun 12, 2007 5:56 pm
by mflynn
I have a list of 3d points and I have made the number of segments equal to n3d()-1. From what I understand, this will chop up the section into n3d()-1 equal sized segments. Is it possible to set the length of each segment to the distance between the 3d points?
What I am trying to do is to record the voltage for each segment so that I can create a detailed map of the axial currents flowing through the neuron. I t would really help to have the 3d location of each voltage recording.
Thanks!
Mark
Re: arbitrary segment lengths
Posted: Tue Jun 12, 2007 7:23 pm
by ted
mflynn wrote:I have a list of 3d points and I have made the number of segments equal to n3d()-1. From what I understand, this will chop up the section into n3d()-1 equal sized segments. Is it possible to set the length of each segment to the distance between the 3d points?
No. As the docs say, all segments of a given section have equal lengths.
What I am trying to do is to record the voltage for each segment so that I can create a detailed map of the axial currents flowing through the neuron. I t would really help to have the 3d location of each voltage recording.
Your alternatives are:
1. Use each adjacent pair of xyzdiam measurements to define a section. You will still have to
interpolate the locations of segment centers.
or
2. Use an approach similar to what is described in a set of files I wrote for extracellular
stimulation and recording--see Extracellular stimulation and recording
https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=168
Posted: Tue Jun 12, 2007 7:37 pm
by mflynn
That's what I thought, I just wanted to make sure I wasn't missing an easier way than interpolation.
Thanks,
Mark