Hi,
I expected to use the encoder/decoder as followed
ldpc = LDPC(...)
x = np.random.randint(0,2, 128) # generate some random bits
enc = ldpc.encode(x)
x_r = ldpc.decode(enc)[0]
The decode method delivers float values, however it's not obvious how to get the decoded bits out of the stream.
Could you please clarify if this is possible?
Thanks!
Franz
Hi,
I expected to use the encoder/decoder as followed
The decode method delivers float values, however it's not obvious how to get the decoded bits out of the stream.
Could you please clarify if this is possible?
Thanks!
Franz