step_current_generator

Command: step_current_generator


Description

The dc_generator provides a piecewise constant DC input to the
connected node(s). The amplitude of the current is changed at the
specified times. The unit of the current is pA.

Parameters

The following parameters can be set in the status dictionary:
amplitude_times list of doubles - Times at which current changes in ms
amplitude_values list of doubles - Amplitudes of step current current in pA

Author
Jochen Martin Eppler Jens Kremkow

Sends
CurrentEvent

File
models/step_current_generator.h
Examples

The current can be altered in the following way:
/step_current_generator Create /sc Set
sc << /amplitude_times [0.2 0.5] /amplitude_values [2.0 4.0] >> SetStatus

The amplitude of the DC will be 0.0 pA in the time interval [0 0.2)
2.0 pA in the interval [0.2 0.5) and 4.0 from then on.