commpy.channels.bsc

bsc(input_bits, p_t)

Binary Symmetric Channel.

Parameters:
  • input_bits (1D ndarray containing {0, 1}) – Input arrary of bits to the channel.
  • p_t (float in [0, 1]) – Transition/Error probability of the channel.
Returns:

output_bits – Output bits from the channel.

Return type:

1D ndarray containing {0, 1}