cbadc.analog_signal.Ramp

class cbadc.analog_signal.Ramp(amplitude: float, period: float, phase: float = 0.0, offset: float = 0.0)

Bases: cbadc.analog_signal.AnalogSignal

An analog continuous-time ramp signal. :param amplitude: The amplitude of the sinusodial. :type amplitude: float :param period: one over the period length of the ramp, specified in [Hz]. :type period: float :param phase: The phase offset in [s], defaults to 0. :type phase: float, optional :param offset: The offset value. :type offset: float

amplitude

The amplitude.

Type

float

period

The ramp’s time period in [s].

Type

float

phase

The phase offset in [s].

Type

float

offset

The offset

Type

float, optional

Methods

__init__(amplitude, period[, phase, offset])

evaluate(t)

Evaluate the signal at time \(t\).

evaluate(t: float) float

Evaluate the signal at time \(t\). :param t: the time instance for evaluation. :type t: float

Returns

The analog signal value

Return type

float