here is my stimulation:
neuron[0].soma {
stim = new IClamp(0.5)
stim.del = 5
stim.dur = 50
stim.amp = 1
}
I want the cell to receive stimulation two or more times, so how can I set the parameters to complete this?
Thank you!
how to apply multiple stimulation?
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: how to apply multiple stimulation?
You could just use as many IClamps as you need pulses. If the pulses are periodic, you could use one of the mechanisms defined by ipulse1.mod or ipulse2.mod (see
periodic stimulation?
http://www.neuron.yale.edu/phpBB/viewto ... ?f=8&t=137).
If they are completely arbitrary in duration and time of occurrence, maybe the Vector class's play method is more appropriate
http://www.neuron.yale.edu/neuron/stati ... .html#play.
periodic stimulation?
http://www.neuron.yale.edu/phpBB/viewto ... ?f=8&t=137).
If they are completely arbitrary in duration and time of occurrence, maybe the Vector class's play method is more appropriate
http://www.neuron.yale.edu/neuron/stati ... .html#play.
Re: how to apply multiple stimulation?
Thanks Ted, I've tried what you said, it simply works :Dted wrote:You could just use as many IClamps as you need pulses. If the pulses are periodic, you could use one of the mechanisms defined by ipulse1.mod or ipulse2.mod (see
periodic stimulation?
http://www.neuron.yale.edu/phpBB/viewto ... ?f=8&t=137).
If they are completely arbitrary in duration and time of occurrence, maybe the Vector class's play method is more appropriate
http://www.neuron.yale.edu/neuron/stati ... .html#play.