How to make IClamp deliver multiple pulses or a waveform

A collection of noteworthy items selected by our moderators from discussions about making and using models with NEURON.

Moderators: wwlytton, tom_morse

Post Reply
ted
Site Admin
Posts: 5592
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

How to make IClamp deliver multiple pulses or a waveform

Post by ted » Fri Jul 01, 2011 5:36 pm

For arbitrary waveforms, create an IClamp with del = 0, dur = 1e9, and use the Vector class's play() method to drive its amp variable.

If you want to generate a series of uniform pulses, see this item
I just want a current clamp that will deliver a sequence of current pulses at regular intervals.
in the FAQ list
https://neuron.yale.edu/neuron/faq/general-questions

Post Reply