cbadc.analog_signal.SincPulse

class cbadc.analog_signal.SincPulse(amplitude: float, bandwidth: float, delay: float, offset: float = 0.0)

Bases: cbadc.analog_signal.AnalogSignal

An analog continuous-time sinc pulse.

Parameters
  • amplitude (float) – The peak amplitude of the pulse.

  • bandwidth (float) – The bandwidth in [Hz].

  • delay (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

delay

The the time delay in [s].

Type

float

offset

The offset

Type

float, optional

Example

>>> 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, delay[, offset])

evaluate(t)

Evaluate the signal at time \(t\).

evaluate(t: float) float

Evaluate the signal at time \(t\).

Parameters

t (float) – the time instance for evaluation.

Returns

The analog signal value

Return type

float