** Next:** .width Line
** Up:** Output Generation
** Previous:** .plot Line
** Contents**
** Index**

##

`.four` Line

- General Form:

`.four `*freq ov1* [*ov2 ov3 ...*]

- Example:

`.four 100k v(5)`

The `.four` line controls whether *WRspice* performs a Fourier
analysis as a part of the transient analysis. The parameter *freq* is the fundamental frequency, and *ov1,...*, are the
output variables for which the analysis is desired. The Fourier
analysis is performed over the interval [`tstop`-period, `tstop`], where `tstop` is the final time specified in transient
analysis, and `period` is one period of the fundamental frequency.
The dc component and the first nine harmonics are determined. For
maximum accuracy, `tmax` (see the `.tran` line, in
2.7.10) should be set to *period*/100 (or less for very
high Q circuits).

Stephen R. Whiteley
2020-03-29