• General
  • Api Documentation

    Show / Hide Table of Contents
    • OmicronLab.MaterialAnalyzer.AutomationInterface
      • BaseFdsResult
      • BasePdcResult
      • CombinedFrequencySweepSettingsImplementation
      • FdsFrequencySweepSettingsImplementation
      • FrequencySweepSettingsBase
      • FrequencySweepSettingsFactory
      • MeasurementImplementation
      • MeasurementSettingsImplementation
      • PdcFrequencySweepSettingsImplementation
      • PreMeasurementImplementation
      • RecorderFdsResultImplementation
      • RecorderImplementation
      • RecorderPdcResultImplementation
      • ReferenceMeasurementImplementation
      • Spectano100
    • OmicronLab.MaterialAnalyzer.AutomationInterface.DataTypes
      • Complex
    • OmicronLab.MaterialAnalyzer.AutomationInterface.DataTypes.Interfaces
      • IComplex
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Enumerations
      • ApplyState
      • DeviceStatus
      • ExecutionState
      • FdsPdcConversionTime
      • LogLevel
      • MeasurementMode
      • NoiseSuppression
      • PreMeasurementDelayType
      • PreMeasurementState
      • QualityCheckState
      • ReconnectionState
      • RecorderState
      • ResultType
      • StopState
      • TestCellType
      • Trend
      • UploadState
    • OmicronLab.MaterialAnalyzer.AutomationInterface.EventHelper
      • DeviceEvents
      • FrequencySweepMeasurementEvents
      • PreMeasurementEvents
      • RecorderEvents
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Extensions
      • CommonExtension
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces
      • DeviceEventDelegates
      • DeviceEventDelegates.DeviceStatusChangedDelegate
      • DeviceEventDelegates.RuntimeErrorDelegate
      • SpectanoDevice
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Recording
      • Recorder
      • RecorderEventDelegates
      • RecorderEventDelegates.FdsResultAvailableDelegate
      • RecorderEventDelegates.PdcResultAvailableDelegate
      • RecorderEventDelegates.RecorderStatusChangedDelegate
      • Recording
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Recording.Results
      • RecorderFdsResult
      • RecorderPdcResult
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Sweep
      • Sweep
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Sweep.FrequencySweep
      • FrequencySweepEventDelegates
      • FrequencySweepEventDelegates.ExecutionProgressUpdateDelegate
      • FrequencySweepEventDelegates.NewFdsResultAvailableDelegate
      • FrequencySweepEventDelegates.NewPdcResultAvailableDelegate
      • FrequencySweepMeasurement
      • Results
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Sweep.FrequencySweep.PreMeasurements
      • PreMeasurement
      • PreMeasurementEventDelegates
      • PreMeasurementEventDelegates.QualityCheckStateDelegate
      • PreMeasurementEventDelegates.TimeDelayAndCurrentCheckerStateDelegate
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Sweep.FrequencySweep.ReferenceMeasurement
      • ReferenceMeasurement
      • ReferenceMeasurements
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.MeasurementModes.Sweep.FrequencySweep.Settings
      • CombinedFrequencySweepSettings
      • CustomCombinedFrequencySweepSettings
      • CustomFdsFrequencySweepSettings
      • CustomPdcFrequencySweepSettings
      • FdsFrequencySweepSettings
      • FrequencySweepSettings
      • MeasurementSettings
      • PdcFrequencySweepSettings
    • OmicronLab.MaterialAnalyzer.AutomationInterface.Interfaces.TestCells
      • CylindricalElectrodesWithGuardRing
      • CylindricalElectrodesWithoutGuardRing
      • DiskElectrodesWithGuardRing
      • DiskElectrodesWithoutGuardRing
      • Dsh100
      • OtherTestCell
      • TestCell
      • TestCellSample
      • TestCellSampleReference
    • SpectanoAIExample
      • Program

    Class Complex

    This class is used to expose the System.Numerics.Complex class to COM. Is is direct castable to into/from a System.Numerics.Complex type.

    Inheritance
    System.Object
    Complex
    Namespace: OmicronLab.MaterialAnalyzer.AutomationInterface.DataTypes
    Assembly: OmicronLab.MaterialAnalyzer.AutomationInterface.dll (1.60.627.0)
    Syntax
    public class Complex : IComplex

    Constructors

    Complex(Double, Double)

    Initializes a new instance of the Complex class.

    Declaration
    public Complex(double real, double imaginary)
    Parameters
    Type Name Description
    System.Double real

    The real value.

    System.Double imaginary

    The imaginary value.

    Properties

    Imaginary

    Gets the imaginary value from the complex value.

    Declaration
    public double Imaginary { get; }
    Property Value
    Type Description
    System.Double

    The imaginary value.

    Magnitude

    Gets the magnitude.

    Declaration
    public double Magnitude { get; }
    Property Value
    Type Description
    System.Double

    The magnitude.

    MagnitudeDB

    Gets the magnitude in DB.

    Declaration
    public double MagnitudeDB { get; }
    Property Value
    Type Description
    System.Double

    The magnitude in DB.

    Phase

    Gets the phase in radiand.

    Declaration
    public double Phase { get; }
    Property Value
    Type Description
    System.Double

    The phase in radians.

    Real

    Gets the real value from the complex value.

    Declaration
    public double Real { get; }
    Property Value
    Type Description
    System.Double

    The real value.

    Operators

    Implicit(Complex to Complex)

    Declaration
    public static implicit operator Complex(Complex complex)
    Parameters
    Type Name Description
    Complex complex

    The complex.

    Returns
    Type Description
    System.Numerics.Complex

    The result of the conversion.

    Implicit(Complex to Complex)

    Declaration
    public static implicit operator Complex(Complex complex)
    Parameters
    Type Name Description
    System.Numerics.Complex complex

    The System.Numerics.Complex.

    Returns
    Type Description
    Complex

    The result of the conversion.

    Back to top Generated by DocFX