Class NoiseGain
Noise generator with fixed gain.
Implements
Inherited Members
Namespace: SpiceSharp.Components.NoiseSources
Assembly: SpiceSharp.dll
Syntax
public class NoiseGain : NoiseSource, INoiseSource
Constructors
NoiseGain(string, IVariable<Complex>, IVariable<Complex>)
Initializes a new instance of the NoiseGain class.
Declaration
public NoiseGain(string name, IVariable<Complex> pos, IVariable<Complex> neg)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the noise source. |
IVariable<Complex> | pos | The positive node. |
IVariable<Complex> | neg | The negative node. |
Methods
Compute(double)
Computes the noise density specified gain.
Declaration
public void Compute(double gain)
Parameters
Type | Name | Description |
---|---|---|
double | gain | The gain. |