parameter description default value units vo offset volts or amps va amplitude volts or amps fc carrier frequency 1/tstop hz mdi modulation index 0 fs signal frequency 1/tstop hz
The shape of the waveform is described by the following equation:
value = vo + va^{ . } sin((2^{ . } fc^{ . } time) + mdi^{ . } sin(2^{ . } fs^{ . } time))
This function applies only to transient analysis, where time is the running variable. When referring to default values, tstep is the printing increment and tstop is the final time in transient analysis, see 2.7.10 for explanation.
If this function is used bare and not part of an expression in a voltage or current source, then the general source instance parameters prm1 etc. map as below. It is possible to read and alter these values using the special vector @device[param] construct, or with the alter and sweep commands. However, there is no sanity checking so bad numbers can cause wild behavior or worse.
prm1 vo prm2 va prm3 fc prm4 mdi prm5 fs