Class SourceShapingImpl
Source shaping control class.
Inheritance
System.Object
SourceShapingImpl
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Shaping
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.22.1690.0)
Syntax
[Guid("B5C35537-8C23-4B29-83AF-C4AB59EDFA07")]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
public class SourceShapingImpl : SourceShaping
Constructors
SourceShapingImpl()
Initializes a new instance of the SourceShapingImpl class.
Declaration
public SourceShapingImpl()
Properties
Frequencies
Gets the frequencies.
Declaration
public double[] Frequencies { get; }
Property Value
Type | Description |
---|---|
System.Double[] | The frequencies. |
IsEnabled
Gets or sets a value indicating whether this instance is enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Levels
Gets the levels.
Declaration
public double[] Levels { get; }
Property Value
Type | Description |
---|---|
System.Double[] | The levels in LevelUnit. |
LevelShaping
Gets the level shaping.
Declaration
public Dictionary<double, double> LevelShaping { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Double, System.Double> | The level shaping. |
LevelUnit
Gets or sets the level unit.
Declaration
public LevelUnit LevelUnit { get; set; }
Property Value
Type | Description |
---|---|
LevelUnit | The level unit defining the unit of LevelShaping. |
Methods
Add(Double, Double)
Adds a shaping point at the specified frequency and level.
Declaration
public void Add(double frequency, double level)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
System.Double | level | The level in LevelUnit. |
Clear()
Clears the shaped level points.
Declaration
public void Clear()
Remove(Double)
Removes the shaped level at a specified frequency.
Declaration
public bool Remove(double frequency)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Returns
Type | Description |
---|---|
System.Boolean |