static sdr.BinaryErasureChannel.capacities(p: ArrayLike) → NDArray[float64] Calculates the capacity of BEC channels. Returns:¶ The capacity \(C\) of the channel in bits/channel use.