komm.SincPulse
Sinc pulse. It is a pulse with waveform given by $$ h(t) = \operatorname{sinc}(t) = \frac{\sin(\pi t)}{\pi t}, $$ and spectrum given by $$ \hat{h}(f) = \begin{cases} 1, & |f| < \frac{1}{2}, \\ 0, & \text{otherwise}. \end{cases} $$
The sinc pulse is depicted below.
For more details, see PS08, Sec. 9.2-1.
Attributes:
(No attributes)
Examples:
>>> pulse = komm.SincPulse()
>>> pulse.waveform([-0.75, -0.50, -0.25, 0.00, 0.25, 0.50, 0.75]).round(4)
array([0.3001, 0.6366, 0.9003, 1. , 0.9003, 0.6366, 0.3001])
>>> pulse.spectrum([-0.75, -0.50, -0.25, 0.00, 0.25, 0.50, 0.75])
array([0., 0., 1., 1., 1., 0., 0.])