functioning of pt3dadd
Posted: Thu Mar 12, 2015 4:37 am
I would like to know how pt3dadd works. Do I have to specifiy it in absolute or relative coordinates? Here an example:
I want to add a tuft dendrite on top of an apical dendrite lets say the apical dendrite is specified by:
Is it then enough to specify the coordinates of the tuft dendrite in 3d space and state the connection:
or do I need to give the absolute position of the tuft:
This is also relevant when changing the position of the soma. Is it enough to specify the position of the soma and state the connections so that the neuron moves its position relative to the soma position?
I want to add a tuft dendrite on top of an apical dendrite lets say the apical dendrite is specified by:
Code: Select all
apic {
pt3dclear()
pt3dadd(0, 0, 0, 2)
pt3dadd(0, 0, 400, 2)
}
Code: Select all
tuft {
pt3dclear()
pt3dadd(0, 0, 0, 1)
pt3dadd(0, 0,100, 1)
}
connect tuft(0), apic(1)
Code: Select all
tuft {
pt3dclear()
pt3dadd(0, 0, 400, 1)
pt3dadd(0, 0, 500, 1)
}
connect tuft(0), apic(1)