How to use data as the stimulation protocol

The basics of how to develop, test, and use models.
Post Reply
fespin
Posts: 2
Joined: Fri Dec 05, 2008 6:00 am

How to use data as the stimulation protocol

Post by fespin »

I would like to use action potential traces (in txt format) as the protocol for the stimulation electrode. Is this possible?

Thanks for any help
ted
Site Admin
Posts: 6299
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: How to use data as the stimulation protocol

Post by ted »

Use the Vector class's play() method. See the Programmer's Reference for documentation of the relevant methods including play() and the methods that are useful for reading data from files. You might also want to work through this exercise
5. Model Control : Arbitrary forcing functions
http://www.neuron.yale.edu/neuron/stati ... bforc.html
which is from the 2008 NEURON summer course.
Post Reply