Interface AdmittanceResult
Result object for bode measurement.
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Results
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.50.2911.0)
Syntax
[Guid("7AE9C946-7AFA-490E-AD9F-8AE9C071D52D")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
public interface AdmittanceResult
Properties
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 and returns as an array.
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 COM, 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.
Cp()
Calculates the parallel capacitance values and returns as an array.
Declaration
double[] Cp()
Returns
Type | Description |
---|---|
System.Double[] | The Cp. |
CpAt(Int32)
Calculates the parallel capacitance value At index of array.
Declaration
double CpAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The Cp At. |
GroupDelayTg()
Calculates the group delay Tg values and returns as an array.
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 and returns as an array.
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 |
Lp()
Calculates the parallel inductance values and returns as an array.
Declaration
double[] Lp()
Returns
Type | Description |
---|---|
System.Double[] | The Lp. |
LpAt(Int32)
Calculates the parallel inductance value At index of array.
Declaration
double LpAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The Lp 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 |
---|---|
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 and returns as an array.
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 |
Q()
Calculates the Q factor values and returns as an array.
Declaration
double[] Q()
Returns
Type | Description |
---|---|
System.Double[] | The Q. |
QAt(Int32)
Calculates the Q factor value At index of array.
Declaration
double QAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The Q At. |
QTg()
Gets the Q factor of the group delay Tg values and returns as an array.
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 and returns as an array.
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 |
Rp()
Gets the parallel resistance values and returns as an array.
Declaration
double[] Rp()
Returns
Type | Description |
---|---|
System.Double[] | The Rp. |
RpAt(Int32)
Calculates the parallel resistance value At the index of array.
Declaration
double RpAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.Double | The Rp At. |
TanDelta()
Calculates the tangent delta and returns as an array.
Declaration
double[] TanDelta()
Returns
Type | Description |
---|---|
System.Double[] | The tangent delta. |
TanDeltaAt(Int32)
Calculates the tangent delta value at the index of array.
Declaration
double TanDeltaAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Returns
Type | Description |
---|---|
System.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 |
---|---|
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 |