inserting point process

When Python is the interpreter, what is a good
design for the interface to the basic NEURON
concepts.

Moderator: hines

Post Reply
cwei_h

inserting point process

Post by cwei_h » Fri Dec 03, 2010 3:11 am

Hello,
I am trying to insert a point process to a postsynaptic cell using the .loc() fn, for some reason the point process is also inserted into the presynaptic cell (i found this out using neuron.h.psection() ). Could you please tell me what i did wrong (see code):

pre = preCell()
post = postCell()
ampa = neuron.h.gluR() <-point process
ampa.loc(0.5, post)

thank you,

mctavish
Posts: 74
Joined: Tue Mar 14, 2006 6:10 pm
Location: New Haven, CT

Re: inserting point process

Post by mctavish » Fri Dec 03, 2010 9:50 am

Pre is still the currently accessed section.

Try:

Code: Select all

from neuron import h
ampa=h.gluR(post(0.5))
h.psection(sec=post)

Post Reply