Page 1 of 1

how to apply multiple stimulation?

Posted: Mon Dec 06, 2010 2:05 pm
by Kane
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!

Re: how to apply multiple stimulation?

Posted: Tue Dec 07, 2010 4:19 pm
by ted
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.

Re: how to apply multiple stimulation?

Posted: Tue Dec 07, 2010 11:42 pm
by Kane
ted 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.
Thanks Ted, I've tried what you said, it simply works :D