how to apply multiple stimulation?

Anything that doesn't fit elsewhere.
Post Reply
Kane
Posts: 7
Joined: Mon Oct 25, 2010 1:41 pm

how to apply multiple stimulation?

Post 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!
ted
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?

Post 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.
Kane
Posts: 7
Joined: Mon Oct 25, 2010 1:41 pm

Re: how to apply multiple stimulation?

Post 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
Post Reply