arbitrary segment lengths

The basics of how to develop, test, and use models.
Post Reply
mflynn

arbitrary segment lengths

Post 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
ted
Site Admin
Posts: 6394
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: arbitrary segment lengths

Post 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
Last edited by ted on Tue Jun 12, 2007 8:18 pm, edited 1 time in total.
mflynn

Post by mflynn »

That's what I thought, I just wanted to make sure I wasn't missing an easier way than interpolation.

Thanks,
Mark
Post Reply