Command: ac_generator

NEST HelpDesk Command Index NEST Quick Reference
Name:
ac_generator - provides AC input current
Description:
This device produces an ac-current sent by a CurrentEvent. The
current is given by

@f[ I(t) = offset + amplitude * \sin ( om * t + \phi ) @f]

where
@f[
om = 2 * \pi * frequency \\
\phi = phase / 180 * \pi
@f]
Parameters:
\verbatim embed:rst
========== ====== ====================================
amplitude pA Amplitude of sine current
offset pA Constant amplitude offset
frequency Hz Frequency
phase degree Phase of sine current (0-360 deg)
========== ====== ====================================
\endverbatim


Setting start and stop (see StimulatingDevice) only windows the current
as defined above. It does not shift the time axis.
Sends:
CurrentEvent
References:
\verbatim embed:rst

.. [1] Rotter S and Diesmann M (1999). Exact digital simulation of time-
invariant linear systems with applications to neuronal modeling,
Biol. Cybern. 81, 381-402. DOI: https://doi.org/10.1007/s004220050570
\endverbatim
Author:
Johan Hake, Spring 2003
SeeAlso:
Source:
/var/www/debian/nest/nest-simulator-2.18.0/models/ac_generator.h
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative