SineWave#

class SineWave(
frequency: float = 1000.0,
amplitude: float = 1.0,
offset: float = 0.0,
)[source]#

Bases: object

A sine wave at a VirtualScope channel’s probe tip.

Variables:
  • frequency (float) – Frequency in Hz, not negative. 0 gives a DC level.

  • amplitude (float) – Peak amplitude in volts (half the peak-to-peak value), not negative.

  • offset (float) – DC offset in volts.

Raises:

ValueError – frequency or amplitude is negative or not finite, or offset is not finite.

frequency: float = 1000.0#
amplitude: float = 1.0#
offset: float = 0.0#