Class Pulse.Instance
The instance for a pulsed waveform.
Implements
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
protected class Pulse.Instance : IWaveform
Constructors
Instance(IIntegrationMethod, double, double, double, double, double, double, double)
Initializes a new instance of the Pulse.Instance class.
Declaration
public Instance(IIntegrationMethod method, double v1, double v2, double td, double tr, double tf, double pw, double per)
Parameters
| Type | Name | Description |
|---|---|---|
| IIntegrationMethod | method | The integration method. |
| double | v1 | The initial/low value. |
| double | v2 | The pulsed/high value. |
| double | td | The delay. |
| double | tr | The rise time. |
| double | tf | The fall time. |
| double | pw | The pulse width. |
| double | per | The period. |
Properties
Value
Gets the value that is currently being probed.
Declaration
public double Value { get; }
Property Value
| Type | Description |
|---|---|
| double | The value at the probed timepoint. |
Methods
Accept()
Accepts the last probed timepoint.
Declaration
public void Accept()
Probe()
Probes a new timepoint.
Declaration
public void Probe()