cbadc.analog_signal.sinc_pulse.SincPulse
- class cbadc.analog_signal.sinc_pulse.SincPulse(amplitude: float, bandwidth: float, t0: float, offset: float = 0.0)[source]
Bases:
_AnalogSignalAn analog continuous-time sinc pulse.
- Parameters
amplitude (float) – The peak amplitude of the pulse.
bandwidth (float) – The bandwidth in [Hz].
t0 (float) – The time delay (instance of the peak) in [s].
offset (float) – The offset value, defaults to 0.
- amplitude
The amplitude.
- Type
float
- bandwidth
The bandwidth in [Hz].
- Type
float
- t0
The the time delay in [s].
- Type
float
- offset
The offset
- Type
float, optional
See also
cbadc.analog_signal.AnalogSignalExample
>>> from cbadc.analog_signal import SincPulse >>> import numpy as np >>> u = SincPulse(3, 1, 5) >>> print(u.evaluate(5)) 3.0
Methods
__init__(amplitude, bandwidth, t0[, 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\).
- Parameters
t (float) – the time instance for evaluation.
- Returns
The analog signal value
- Return type
- symbolic() sinc[source]
Returns as symbolic exression
- Returns
a symbolic sinc_pulse function
- Return type
sympy.Symbol
- tick()
Tick the signal, i.e., update the internal state.