def turbo_decode1(sequence, ebn0): rel = channel._decibel_to_ratio(ebn0) * 2 return decode.turbo_decode(sequence, lookup_tables.gzl_rsc, interleaver, 1, rel)
def turbo_decode(sequence, ebn0): # rel = channel._decibel_to_ratio(ebn0) * 2 rel = ebn0 * 2 return decode.turbo_decode(sequence, table, interleaver, k, rel)