cbadc.analog_signal.impulse_responses.StepResponse
- class cbadc.analog_signal.impulse_responses.StepResponse(t0: float = 0.0, amplitude=1.0)[source]
Bases:
_ImpulseResponseMethods
__init__([t0, 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()[source]
Returns as symbolic exression
- Returns
the resulting function
- Return type
sympy.Symbol
- tick()
Tick the signal, i.e., update the internal state.