analyze
RFCKT object analysis in the frequency domain.
| Library |
|
Syntax
Function call
-
analyze(h,Freq)— calculates the following rfckt object datahat the set frequency valuesFreq:-
Chain Parameters;
-
Noise factor;
-
The intersection point of the third order at the exit;
-
Power data;
-
Phase noise;
-
Standing wave voltage coefficient;
-
Power gain factor;
-
Group delay;
-
Reflection coefficients;
-
Sustainability data;
-
Transfer function.
-
-
analyze(h,Freq,Name=Value)— calculates the circuit data at specified frequency values and properties of the circuit object specified by one or more arguments of the "name-value" type. Unspecified properties retain their default values. The method ignores any properties that are not applicable to the specified object. Ignoring these properties allows you to apply the same set of arguments to the entire network, where different properties exist for different components.When specifying arguments of the "name-value" type, the method analyzemodifies the object’s data values according to your requirements.
Arguments
Input arguments
# h is an rfckt object
+
object
Details
rfckt is an object for analysis, specified as an object descriptor.
| Типы данных |
|
# Freq — simulation frequency, Hz
+
vector
Details
The simulation frequency, set as a vector in Hz.
| Типы данных |
|
# ZL — load impedance, ohms
+
50 (by default) | scalar
Details
The load impedance, set as a scalar in ohms.
| Типы данных |
|
# ZS — source impedance, ohms
+
50 (by default) | scalar
Details
The impedance of the source, set as a scalar in ohms.
| Типы данных |
|
# Z0 is the reference impedance of the S-parameters, ohms
+
50 (by default) | scalar | vector
Details
The reference impedance of the S-parameters, specified as a positive real scalar or a positive real vector in ohms. The length of this vector must match the length of the argument. Freq.
| Типы данных |
|
# Aperture — the value for determining two closely spaced frequencies at each simulation frequency
+
scalar (by default) | vector
Details
The value for determining two closely spaced frequencies at each simulation frequency for calculating the group delay, set as a positive scalar or vector of the same length as the simulation frequency vector. If the argument is Aperture If it is not set, then its value will be determined based on the simulation frequencies.
| Типы данных |
|
Examples
Data object analysis
Details
Let’s create and analyze a data object. Let’s output the possible names of the object properties.
using EngeeRF
h = rfdata.data()
ans = analyze(h, [2e9 1e9], [50 100], [125, 75], 150)
propertynames(ans)
(:Name, :Freq, :S_Parameters, :Z0, :ZS, :ZL, :IntpType)
Let’s output the values of some of the properties.
println("Name: ", ans.Name,
"\nFreq: ", ans.Freq,
"\nZ0: ", ans.Z0,
"\nZS: ", ans.ZS,
"\nZL: ", ans.ZL,
"\nIntpType: ", ans.IntpType)
Name: Data Object
Freq: [1.0e9, 2.0e9]
Z0: ComplexF64[150.0 + 0.0im]
ZS: ComplexF64[75.0 + 0.0im, 125.0 + 0.0im]
ZL: ComplexF64[100.0 + 0.0im, 50.0 + 0.0im]
IntpType: Linear