I would like to know if it is possible to use a square wave generated using IClamp as an input for an artificial spiking neuron. I have tried to find a way to do this with the GUI and can't see how. Is it possible, or would I have to write some hoc code to do this?
Any help would be appreciated.
Using IClamp as an input for an artificial spiking neuron
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Using IClamp as an input for an artificial spiking neuron
NEURON's artificial spiking cells are not implemented with sections. They have neither membrane nor membrane potential, and point processes cannot be attached to them. The only way they can communicate with other things is by sending or receiving events.
If you need a source of events to drive an artificial spiking cell, use a NetStim, or else use the NetCon class's event() method, perhaps in conjunction with an FInitializeHandler to load the NetCon's event queue at initialization. You can read about these things in the Programmer's Reference; to see an example of the use of NetCon.event and FInitializeHandler, look here:
viewtopic.php?f=16&t=1327&p=4615&hilit= ... dler#p4615
If you need a source of events to drive an artificial spiking cell, use a NetStim, or else use the NetCon class's event() method, perhaps in conjunction with an FInitializeHandler to load the NetCon's event queue at initialization. You can read about these things in the Programmer's Reference; to see an example of the use of NetCon.event and FInitializeHandler, look here:
viewtopic.php?f=16&t=1327&p=4615&hilit= ... dler#p4615
Re: Using IClamp as an input for an artificial spiking neuron
That makes sense, thanks Ted.