Skip to content

komm.RaisedCosinePulse

Raised cosine pulse. It is a formatting pulse with impulse response given by $$ h(t) = \operatorname{sinc}(t) \frac{\cos(\pi \alpha t)}{1 - (2 \alpha t)^2}, $$ where $\alpha$ is the roll-off factor. The raised cosine pulse is depicted below for $\alpha = 0.25$, and for $\alpha = 0.75$.

Raised cosine pulse with roll-off factor 0.25. Raised cosine pulse with roll-off factor 0.75.

For $\alpha = 0$, the raised cosine pulse reduces to the sinc pulse.

__init__()

Constructor for the class.

Parameters:

  • rolloff (float)

    The roll-off factor $\alpha$ of the pulse. Must satisfy $0 \leq \alpha \leq 1$.

  • length_in_symbols (int)

    The length (span) of the truncated impulse response, in symbols.

Examples:

>>> pulse = komm.RaisedCosinePulse(rolloff=0.25, length_in_symbols=16)
>>> pulse = komm.RaisedCosinePulse(rolloff=0.75, length_in_symbols=16)

rolloff property

The roll-off factor $\alpha$ of the pulse.

length_in_symbols property

The length (span) of the truncated impulse response.