Page 1 of 1

### How to move neuron in space without changing its dimensions

Posted: Tue Jun 21, 2005 11:59 am
Hei,

I'm a beginner in neuron. I have been trying to move preconstructed neuron cell in 3D but have little luck of this task. Whenever I'm initiating (pt3dadd) or moving(pt3dchange) the soma (or anyother section of the neuron), NEURON changes the lenght of the segment to fit the coordinate I've put in. I'm wondering is there a embeded function in NERUON that would allow me to move the segment without changing its demension. Do you think I should change the model code a little to make the model dynamic?

Plus, I'm still a beginner. Is there a simple tutorial that is plain about how to move the cell in NEURON, since I felt Andrew Gillies and David Sterratt's tutorial is not detailed enough on topic of moving cells.

Thanks a lot.

-Nan

### How to specify the apparent location of a model cell

Posted: Fri Jun 24, 2005 7:46 pm
The root* section controls the apparent location of a model cell in a
Shape plot. The easiest way to control the apparent location of a model
cell is to create a small dummy section that is used as the root. Then
you won't have to tinker with any of the pt3dadd statements for any
of the sections you care about.

So if the root of your model is called somesection, and you
want the model to appear to originate at
XORIGIN, YORIGIN, ZORIGIN
all you have to do is add the statements

Code: Select all

``````XORIGIN = your_x_value
YORIGIN = your_y_value
ZORIGIN = your_z_value
create dummy
dummy {
}
connect somesection(0), dummy(0.5)``````
before anything that creates a Shape plot. A good place to insert
this would be right after the code that defines the structure of your
model cell.

dummy will be too small to have a significant effect on any model
that has reasonable membrane properties and a surface area larger
than 10 um2, and you will have complete control over the apparent
location of the model cell without jeopardizing its geometry.

*--The root of a tree is the branch which has no parent.

Posted: Tue Apr 04, 2006 12:12 am
Apart from moving a reconstructed cell is there an easy way to rotate it in 3D space?

Thanks

### Rotating and zooming on a shape plot

Posted: Tue Apr 04, 2006 12:23 am
ssothro wrote:Apart from moving a reconstructed cell is there an easy way to rotate it in 3D space?
You can view it from different angles. See
http://www.neuron.yale.edu/neuron/stati ... /shape.htm
which is from this tutorial on how to analyze the electrotonic properties of a cell
http://www.neuron.yale.edu/neuron/stati ... zclass.htm

### How to move neuron in space without changing its dimensions

Posted: Thu Dec 02, 2010 2:09 pm
Is there a way to actually move or rotate a neuron in space?