This current source provides a cosine current with variable frequency f
and variable amplitude I
,
i.e. the phase angle of the sine wave is integrated from 2*π*f.
Note that the initial value of the phase angle phi
defines the initial phase shift,
and that the parameter startTime
is omitted since the current can be kept equal to offset with setting the input I
to zero.