qampy.core.special_fcts#

Convenience module for calculation of special mathematical functions useful for communications.

Functions

gauss(x, A, x0, w)

Calculate the Gaussian function with a given amplitude, zero offset and width.

q_function(x)

The Q function is the tail probability of the standard normal distribution see _[1,2] for a definition and its relation to the erfc.

rcos_freq(f, beta, T)

Frequency response of a raised cosine filter with a given roll-off factor and width

rcos_time(t, beta, T)

Time response of a raised cosine filter with a given roll-off factor and width

rrcos_freq(f, beta, T)

Frequency transfer function of the square-root-raised cosine filter with a given roll-off factor and time width/sampling period after _[1]

rrcos_time(t, beta, T)

Time impulse response of the square-root-raised cosine filter with a given roll-off factor and time width/sampling period after _[1] This implementation differs by a factor 2 from the previous.

sech(x, A, x0, w)

Calculate the hyperbolic secant function with a given amplitude, zero offset and width.

supergauss(x, A, x0, w, o)

Calculate the Supergaussian functions with a given amplitude, zero offset, width and order.

ttanh(x, A, x0, w)

Calculate the hyperbolic tangent with a given amplitude, zero offset and width.