commpy.channels.awgn

awgn(input_signal, snr_dB, rate=1.0)

Addditive White Gaussian Noise (AWGN) Channel.

Parameters:
  • input_signal (1D ndarray of floats) – Input signal to the channel.
  • snr_dB (float) – Output SNR required in dB.
  • rate (float) – Rate of the a FEC code used if any, otherwise 1.
Returns:

output_signal – Output signal from the channel with the specified SNR.

Return type:

1D ndarray of floats