Class AttenuatorShapingImpl
Attenuator Shaping Settings.
Inheritance
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Shaping
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.22.1690.0)
Syntax
[Guid("A5B78392-6E52-4301-A23A-8422B7E5A078")]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
public class AttenuatorShapingImpl : AttenuatorShaping
Constructors
AttenuatorShapingImpl()
Initializes a new instance of the AttenuatorShapingImpl class.
Declaration
public AttenuatorShapingImpl()
Properties
AttenuatorsChannel1
Gets the get attenuators for channel 1.
Declaration
public Attenuator[] AttenuatorsChannel1 { get; }
Property Value
Type | Description |
---|---|
Attenuator[] | The get attenuators for channel 1. |
AttenuatorsChannel2
Gets the attenuators for channel 2.
Declaration
public Attenuator[] AttenuatorsChannel2 { get; }
Property Value
Type | Description |
---|---|
Attenuator[] | The attenuators for channel 2. |
FrequenciesChannel1
Gets the frequencies for channel 1.
Declaration
public double[] FrequenciesChannel1 { get; }
Property Value
Type | Description |
---|---|
System.Double[] | The frequencies for channel 1. |
FrequenciesChannel2
Gets the frequencies for channel 2.
Declaration
public double[] FrequenciesChannel2 { get; }
Property Value
Type | Description |
---|---|
System.Double[] | The frequencies for channel 2. |
IsEnabled
Gets or sets a value indicating whether this instance is enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShapedAttenuator
Gets the shaped attenuator.
Declaration
public Dictionary<Channel, Dictionary<double, Attenuator>> ShapedAttenuator { get; }
Property Value
Type | Description |
---|---|
Dictionary<Channel, Dictionary<System.Double, Attenuator>> | The shaped attenuator. |
Methods
AddChannel1(Double, Attenuator)
Adds an attenuator to channel 1.
Declaration
public void AddChannel1(double frequency, Attenuator attenuator)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Attenuator | attenuator | The attenuator. |
AddChannel2(Double, Attenuator)
Adds an attenuator to channel 2.
Declaration
public void AddChannel2(double frequency, Attenuator attenuator)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Attenuator | attenuator | The attenuator. |
ClearChannel1()
Clears all attenuators for channel 1.
Declaration
public void ClearChannel1()
ClearChannel2()
Clears all attenuators for channel 2.
Declaration
public void ClearChannel2()
RemoveChannel1(Double)
Removes an attenuator for channel 1 at a specified frequency.
Declaration
public bool RemoveChannel1(double frequency)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Returns
Type | Description |
---|---|
System.Boolean |
|
RemoveChannel2(Double)
Removes an attenuator for channel 2 at a specified frequency.
Declaration
public bool RemoveChannel2(double frequency)
Parameters
Type | Name | Description |
---|---|---|
System.Double | frequency | The frequency. |
Returns
Type | Description |
---|---|
System.Boolean |
|