cbadc.analog_signal.ramp.Ramp
- class cbadc.analog_signal.ramp.Ramp(amplitude: float, period: float, phase: float = 0.0, offset: float = 0.0)[source]
Bases:
_AnalogSignalAn analog continuous-time ramp signal. :param amplitude: The amplitude of the sinusoidal. :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
See also
cbadc.analog_signal.AnalogSignalMethods
__init__(amplitude, period[, phase, offset])evaluate(t)Evaluate the signal at time \(t\).
symbolic()Returns as symbolic exression
tick()Tick the signal, i.e., update the internal state.
- evaluate(t: float) float[source]
Evaluate the signal at time \(t\). :param t: the time instance for evaluation. :type t: float
- Returns
The analog signal value
- Return type
- symbolic() Function[source]
Returns as symbolic exression
- Returns
a ramp symbolic function
- Return type
sympy.Symbol
- tick()
Tick the signal, i.e., update the internal state.