Interface ImpedanceResult
Result object for bode measurement.
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Results
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll
Syntax
[Guid("7121FA1D-C44B-4843-A29D-BE2AA23FE6DF")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
public interface ImpedanceResult
Properties
AsAdmittance
Gets the impedance result values as admittance values.
Declaration
AdmittanceResult AsAdmittance { get; }
Property Value
| Type | Description |
|---|---|
| AdmittanceResult | As admittance. |
AsReflection
Gets the impedance result values as reflection values.
Declaration
ReflectionResult AsReflection { get; }
Property Value
| Type | Description |
|---|---|
| ReflectionResult | As reflection. |
Count
Gets the count of results, depending of the number of points.
Declaration
int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
MeasurementFrequencies
Gets the measurement frequencies and returns as an array.
Declaration
double[] MeasurementFrequencies { get; }
Property Value
| Type | Description |
|---|---|
| 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(bool, bool, FResQFormats)
Calculates the resonance frequency and q factor values.
Declaration
FResQResult CalculateFResQValues(bool searchForPeak, bool yLog, FResQFormats format)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | searchForPeak | if set to |
| bool | 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(int)
Gets the complex result value At the index of the array.
Declaration
Complex ComplexAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | 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.
Cs()
Calculates the series cpacitance values and returns as an array.
Declaration
double[] Cs()
Returns
| Type | Description |
|---|---|
| double[] | The Cs. |
CsAt(int)
Calculates the series capacitance value At index of array.
Declaration
double CsAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The Cs At. |
GroupDelayTg()
Calculates the group delay Tg values and returns as an array.
Declaration
double[] GroupDelayTg()
Returns
| Type | Description |
|---|---|
| double[] | The Group delay Tg values. |
GroupDelayTgAt(int)
Calculates the group delay Tg At the index of the array.
Declaration
double GroupDelayTgAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The Tg At. |
Imaginary()
Calculates the imaginary part of the complex values and returns as an array.
Declaration
double[] Imaginary()
Returns
| Type | Description |
|---|---|
| double[] |
ImaginaryAt(int)
Calculates the imaginary part of the complex value at the index of the array.
Declaration
double ImaginaryAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double |
Ls()
Calculates the series inductance values and returns as an array.
Declaration
double[] Ls()
Returns
| Type | Description |
|---|---|
| double[] | The Ls. |
LsAt(int)
Calculates the series inductance value At index of array.
Declaration
double LsAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The Ls At. |
Magnitude(MagnitudeUnit)
Calculates the magnitude values with the specified unit and returns as an array.
Declaration
double[] Magnitude(MagnitudeUnit unit)
Parameters
| Type | Name | Description |
|---|---|---|
| MagnitudeUnit | unit | The magnitude unit. |
Returns
| Type | Description |
|---|---|
| double[] |
MagnitudeAt(int, 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 |
|---|---|---|
| int | index | The index. |
| MagnitudeUnit | unit | The magnitude unit. |
Returns
| Type | Description |
|---|---|
| double |
MeasurementFrequencyAt(int)
Gets the measurement frequency At the index of the array.
Declaration
double MeasurementFrequencyAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The measurement frequency At. |
Phase(AngleUnit)
Calculates the phases values with the specified unit and returns as an array.
Declaration
double[] Phase(AngleUnit unit)
Parameters
| Type | Name | Description |
|---|---|---|
| AngleUnit | unit | The angle unit. |
Returns
| Type | Description |
|---|---|
| double[] |
PhaseAt(int, 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 |
|---|---|---|
| int | index | The index. |
| AngleUnit | unit | The phase unit. |
Returns
| Type | Description |
|---|---|
| double |
Q()
Calculates the Q factor values and returns as an array.
Declaration
double[] Q()
Returns
| Type | Description |
|---|---|
| double[] | The Q. |
QAt(int)
Calculates the Q factor value At index of array.
Declaration
double QAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The Q At. |
QTg()
Calculates the Q factor of the group delay Tg values and returns as an array.
Declaration
double[] QTg()
Returns
| Type | Description |
|---|---|
| double[] | The QTg. |
QTgAt(int)
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 |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The QTg At. |
Real()
Calculates the real part of the complex values and returns as an array.
Declaration
double[] Real()
Returns
| Type | Description |
|---|---|
| double[] |
RealAt(int)
Calculates the real part of the complex value At the index of the array.
Declaration
double RealAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double |
Rs()
Calculates the series resistance values and returns as an array.
Declaration
double[] Rs()
Returns
| Type | Description |
|---|---|
| double[] | The Rs. |
RsAt(int)
Calculates the series resistance value At the index of array.
Declaration
double RsAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The Rs At. |
TanDelta()
Calculates the tangent delta and returns as an array.
Declaration
double[] TanDelta()
Returns
| Type | Description |
|---|---|
| double[] | The tangent delta. |
TanDeltaAt(int)
Calculates the tangent delta value at the index of array.
Declaration
double TanDeltaAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
Returns
| Type | Description |
|---|---|
| double | The tangent delta At. |
UnwrappedPhase(AngleUnit)
Calculate the unwrapped the phase values and returns as an array.
Declaration
double[] UnwrappedPhase(AngleUnit unit)
Parameters
| Type | Name | Description |
|---|---|---|
| AngleUnit | unit | The angle unit. |
Returns
| Type | Description |
|---|---|
| double[] |
UnwrappedPhaseAt(int, 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 |
|---|---|---|
| int | index | The index. |
| AngleUnit | unit | The phase unit. |
Returns
| Type | Description |
|---|---|
| double |