Class DecadeSweep
This class implements a sweep with a number of points per decade.
Implements
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class DecadeSweep : GeometricProgression, IEnumerable<double>, IEnumerable, IImportParameterSet<double>, IExportPropertySet<double>, IImportParameterSet<int>, IExportPropertySet<int>, IParameterSet
Constructors
DecadeSweep(double, double, int)
Initializes a new instance of the DecadeSweep class.
Declaration
public DecadeSweep(double initial, double final, int pointsPerDecade)
Parameters
Type | Name | Description |
---|---|---|
double | initial | The initial value. |
double | final | The final value. |
int | pointsPerDecade | The number of points per decade. |
Properties
A
Gets the Initial factor A.
Declaration
protected override double A { get; }
Property Value
Type | Description |
---|---|
double |
Overrides
Final
The final frequency of the sweep.
Declaration
[ParameterName("stop")]
[ParameterName("final")]
[ParameterInfo("The final frequency of the sweep.")]
public double Final { get; set; }
Property Value
Type | Description |
---|---|
double | The final frequency value. |
Initial
Gets or sets the initial.
Declaration
[ParameterName("start")]
[ParameterName("initial")]
[ParameterInfo("The initial frequency of the sweep.")]
public double Initial { get; set; }
Property Value
Type | Description |
---|---|
double | The initial frequency value. |
N
Gets the number of steps.
Declaration
protected override int N { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
PointsPerDecade
Gets or sets the points per decade.
Declaration
[ParameterName("n")]
[ParameterName("steps")]
[ParameterInfo("The number of points per decade")]
[GreaterThan(0)]
public int PointsPerDecade { get; set; }
Property Value
Type | Description |
---|---|
int | The points per decade. |
R
Gets the progression factor R.
Declaration
protected override double R { get; }
Property Value
Type | Description |
---|---|
double |
Overrides
Implements
Extension Methods
See Also
IEnumerable<T>