cbadc.analog_signal.impulse_responses.NonReturnToZeroDAC

class cbadc.analog_signal.impulse_responses.NonReturnToZeroDAC(t_start: float, t_end: float, amplitude=1.0)[source]

Bases: StepResponse

Methods

__init__(t_start, t_end[, amplitude])

evaluate(t)

Returns the step response function

symbolic()

Returns as symbolic exression

tick()

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

evaluate(t: float) float[source]

Returns the step response function

\(x(t) = \begin{cases} 1 & \mathrm{if} \,\, t > 0 \\ 0 & \mathrm{otherwise} \end{cases}\)

Parameters
  • t (float) – evaluated at time

  • t0 (float, optional) – starting time

  • amplitude (float, optional) – the amplitude of the impulse response

Returns

the step response evaluated at t.

Return type

float

symbolic()

Returns as symbolic exression

Returns

the resulting function

Return type

sympy.Symbol

tick()

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