Пример #1
0
def map_decode(sequence, ebn0):
    rel = channel._decibel_to_ratio(ebn0) * 2
    return decode.binary_maximum_a_posteriori(lookup_tables.abrantes_convo213, sequence, rel, True)
Пример #2
0
def turbo_decode1(sequence, ebn0):
    rel = channel._decibel_to_ratio(ebn0) * 2
    return decode.turbo_decode(sequence, lookup_tables.gzl_rsc, interleaver, 1, rel)
Пример #3
0
 def turbo_decode(sequence, ebn0):
     rel = channel._decibel_to_ratio(ebn0) * 2
     # rel = ebn0 * 2
     return decode.turbo_decode(sequence, table, interleaver, k, rel)