pspec_tran()
Returns transient power spectrum
Syntax
y = pspec_tran(vPlus, vMinus, iOut, fundFreq, numHarm, windowType, windowConst)
Arguments
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| vPlus | voltage at the positive terminal | (-∞, ∞) | real, complex | yes | |
| vMinus | voltage at the negative terminal | (-∞, ∞) | real, complex | yes | |
| iOut | current through a branch measured for power calculation | (-∞, ∞) | real, complex | yes | |
| fundFreq | fundamental frequency | [0, ∞) | real | yes | |
| numHarm | number of harmonics of fundamental frequency | [0, ∞) | integer | yes | |
| windowType | type of window to be applied to the data | [0, 9]† | integer, string | 0 | no |
| windowConst | window constant ‡ † | [0, ∞) | integer, real | 0 | no |
| † The window types and their default constants are: 0 = None 1 = Hamming 0.54 2 = Hanning 0.50 3 = Gaussian 0.75 4 = Kaiser 7.865 5 = 8510 6.0 (This is equivalent to the time-to-frequency transformation with normalgate shape setting in the 8510 series network analyzer.) 6 = Blackman 7 = Blackman-Harris 8 = 8510-Minimum 0 9 = 8510-Maximum 13 | |||||
Examples
a = pspec_tran(v1, v2, I_Probe1.i, 1GHz, 8)
Defined in
$HPEESOF_DIR/expressions/ael/circuit_fun.ael
See Also
Notes/Equations
This measurement gives a power spectrum, delivered to any part of the circuit. The measurement gives a set of RMS power values at each frequency. The fundFreq argument is the fundamental frequency that determines the portion of the time-domain waveform to be converted to frequency domain (typically one full period corresponding to the lowest frequency in the waveform). The numHarm argument is the number of harmonics of the fundamental frequency to be included in the power spectrum.
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()