cbadc.analog_signal.quadrature.QuadratureSignal

class cbadc.analog_signal.quadrature.QuadratureSignal(amplitude: float, angular_frequency: float, in_phase: bool, i_q: List[_AnalogSignal])[source]

Bases: _AnalogSignal

An analog continuous-time sinusoidal signal.

Parameters
  • amplitude_modulation (:py:class`cbadc.analog_signal.AnalogSignal`) – the amplitude modulation signal

  • phase_modulations (:py:class`cbadc.analog_signal.AnalogSignal`) – the phase modulation signal

  • angular_frequency (float) – the angular frequency of the sinusoidal signal

  • phase (float) – the phase of the sinusoidal signal

  • offset (float) – the offset of the sinusoidal signal

Methods

__init__(amplitude, angular_frequency, ...)

evaluate(t)

Evaluate the signal at time \(t\).

symbolic()

Returns as symbolic exression

tick()

Tick the signal, i.e., update the internal state.

Attributes

amplitude

angular_frequency

phase

offset

evaluate(t: float) float[source]

Evaluate the signal at time \(t\).

Parameters

t (float) – the time instance for evaluation.

Returns

The analog signal value

Return type

float

symbolic() Symbol

Returns as symbolic exression

Returns

the resulting function

Return type

sympy.Symbol

tick()

Tick the signal, i.e., update the internal state.