Class OctaveSweep
This class implements a sweep with a number of points per decade.
Implements
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class OctaveSweep : GeometricProgression, IEnumerable<double>, IEnumerable, IImportParameterSet<double>, IExportPropertySet<double>, IImportParameterSet<int>, IExportPropertySet<int>, IParameterSet
Constructors
OctaveSweep(double, double, int)
Initializes a new instance of the DecadeSweep class.
Declaration
public OctaveSweep(double initial, double final, int pointsPerOctave)
Parameters
Type | Name | Description |
---|---|---|
double | initial | The initial value. |
double | final | The final value. |
int | pointsPerOctave | 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
PointsPerOctave
Gets or sets the points per decade.
Declaration
[ParameterName("n")]
[ParameterName("steps")]
[ParameterInfo("The number of points per octave")]
[GreaterThan(0)]
public int PointsPerOctave { 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>