Interface ReflectionResult
Result object for bode measurement.
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Results
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.50.2911.0)
Syntax
[Guid("F94A1F71-800D-4BBC-80A1-5E776A080BEE")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
public interface ReflectionResult
Properties
AsAdmittance
Gets the reflection result values as admittance values.
Declaration
AdmittanceResult AsAdmittance { get; }
Property Value
Type | Description |
---|---|
AdmittanceResult | As admittance. |
AsImpedance
Gets the reflection result values as impedance values.
Declaration
ImpedanceResult AsImpedance { get; }
Property Value
Type | Description |
---|---|
ImpedanceResult | As impedance. |
Count
Gets the count of results, depending of the number of points.
Declaration
int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MeasurementFrequencies
Gets the measurement frequencies returns as an.
Declaration
double[] MeasurementFrequencies { get; }
Property Value
Type | Description |
---|---|
System.Double[] |
OverloadLevel
Gets the overload level values from Channel 1 and Channel 2.
Declaration
OverloadResult OverloadLevel { get; }
Property Value
Type | Description |
---|---|
OverloadResult |
Vrms
Gets the root mean square voltage values of Channel 1 and Channel 2.
Declaration
Vrms Vrms { get; }
Property Value
Type | Description |
---|---|
Vrms | The Vrms. |
Methods
CalculateFResQValues(Boolean, Boolean, FResQFormats)
Calculates the resonance frequency and q factor values.
Declaration
FResQResult CalculateFResQValues(bool searchForPeak, bool yLog, FResQFormats format)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | searchForPeak | if set to |
System.Boolean | yLog | if set to |
FResQFormats | format | The format that should be used for the resonance frequency calculation (Real, Magnitude, Phase). |
Returns
Type | Description |
---|---|
FResQResult |
Remarks
NOTE that log and Phase format can NOT be combined, because that would likely result in a log of a negative value! The interpolation is automatically done in linear scale for the Phase format.
ComplexAt(Int32)
Gets the complex result value At the index of the array.
Declaration
Complex ComplexAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
Complex | The complex values At. |
Remarks
When using Python with late binding for testing this method has to be used instead of ComplexValues(). The array of complex values returned in Python will not work, however accesing each complex value with ComplexAt() will work.
ComplexValues()
Gets the complex result values in an array.
Declaration
Complex[] ComplexValues()
Returns
Type | Description |
---|---|
Complex[] | The complex values. |
Remarks
When testing COM late binding with Python this method will not work, since the array of complex values is not returned properly. Use the ComplexAt() instead.
GroupDelayTg()
Calculates the group delay Tg values returns as an.
Declaration
double[] GroupDelayTg()
Returns
Type | Description |
---|---|
System.Double[] | The Group delay Tg values. |
GroupDelayTgAt(Int32)
Calculates the group delay Tg At the index of the array.
Declaration
double GroupDelayTgAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The Tg At. |
Imaginary()
Calculates the imaginary part of the complex values returns as an.
Declaration
double[] Imaginary()
Returns
Type | Description |
---|---|
System.Double[] |
ImaginaryAt(Int32)
Calculates the imaginary part of the complex value at the index of the array.
Declaration
double ImaginaryAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double |
Magnitude(MagnitudeUnit)
Calculates the magnitude values with the specified unit returns as an.
Declaration
double[] Magnitude(MagnitudeUnit unit)
Parameters
Type | Name | Description |
---|---|---|
MagnitudeUnit | unit | The magnitude unit. |
Returns
Type | Description |
---|---|
System.Double[] |
MagnitudeAt(Int32, MagnitudeUnit)
Calculates the magnitude with the specified unit At the index of the array.
Declaration
double MagnitudeAt(int index, MagnitudeUnit unit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
MagnitudeUnit | unit | The magnitude unit. |
Returns
Type | Description |
---|---|
System.Double |
MeasurementFrequencyAt(Int32)
Gets the measurement frequency At the index of the array.
Declaration
double MeasurementFrequencyAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The measurement frequency At. |
Phase(AngleUnit)
Calculates the phases values with the specified unit returns as an.
Declaration
double[] Phase(AngleUnit unit)
Parameters
Type | Name | Description |
---|---|---|
AngleUnit | unit | The angle unit. |
Returns
Type | Description |
---|---|
System.Double[] |
PhaseAt(Int32, AngleUnit)
Calculates the phase with the specified unit At the index of the array.
Declaration
double PhaseAt(int index, AngleUnit unit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
AngleUnit | unit | The phase unit. |
Returns
Type | Description |
---|---|
System.Double |
QTg()
Gets the Q factor of the group delay Tg values returns as an.
Declaration
double[] QTg()
Returns
Type | Description |
---|---|
System.Double[] | The QTg. |
QTgAt(Int32)
Calculates the Q factor of the group delay Tg value At the index of the array.
Declaration
double QTgAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The QTg At. |
Real()
Calculates the real part of the complex values returns as an.
Declaration
double[] Real()
Returns
Type | Description |
---|---|
System.Double[] |
RealAt(Int32)
Calculates the real part of the complex value At the index of the array.
Declaration
double RealAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double |
UnwrappedPhase(AngleUnit)
Calculate the unwrapped the phase values returns as an.
Declaration
double[] UnwrappedPhase(AngleUnit unit)
Parameters
Type | Name | Description |
---|---|---|
AngleUnit | unit | The angle unit. |
Returns
Type | Description |
---|---|
System.Double[] |
UnwrappedPhaseAt(Int32, AngleUnit)
Calculates the unwrapped phase with the specified unit At the index of the array.
Declaration
double UnwrappedPhaseAt(int index, AngleUnit unit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
AngleUnit | unit | The phase unit. |
Returns
Type | Description |
---|---|
System.Double |
VSWR()
Calculates the voltage standing wave ratio values returns as an.
Declaration
double[] VSWR()
Returns
Type | Description |
---|---|
System.Double[] | The VSWR. |
VSWRAt(Int32)
Calculates the voltage standing wave ratio value At the index of the array.
Declaration
double VSWRAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double |