Functions | |
def | dec2base |
def | base2dec |
def | fsm_concatenate |
def | fsm_radix |
def | make_isi_lookup |
Variables | |
tuple | pam2 = (1,[-1, 1]) |
tuple | pam4 = (1,[-3, -1, 3, 1]) |
tuple | pam8 = (1,[-7, -5, -3, -1, 1, 3, 5, 7]) |
tuple | psk4 |
tuple | psk8 |
tuple | orth2 |
tuple | orth4 |
list | c_channel = [0.227, 0.460, 0.688, 0.460, 0.227] |
tuple | f1 = trellis.fsm('fsm_files/awgn1o2_4.fsm') |
tuple | f = fsm_radix(f1,2) |
f1.write_trellis_svg('f1.svg',4) f2.write_trellis_svg('f2.svg',4) f=fsm_concatenate(f1,f2) |
def fsm_utils::base2dec | ( | s, | ||
base | ||||
) |
def fsm_utils::dec2base | ( | num, | ||
base, | ||||
l | ||||
) |
def fsm_utils::fsm_concatenate | ( | f1, | ||
f2 | ||||
) |
def fsm_utils::fsm_radix | ( | f, | ||
n | ||||
) |
def fsm_utils::make_isi_lookup | ( | mod, | ||
channel, | ||||
normalize | ||||
) |
list fsm_utils::c_channel = [0.227, 0.460, 0.688, 0.460, 0.227] |
tuple fsm_utils::f = fsm_radix(f1,2) |
f1.write_trellis_svg('f1.svg',4) f2.write_trellis_svg('f2.svg',4) f=fsm_concatenate(f1,f2)
tuple fsm_utils::f1 = trellis.fsm('fsm_files/awgn1o2_4.fsm') |
tuple fsm_utils::orth2 |
Initial value:
(2,[1, 0, \ 0, 1])
tuple fsm_utils::orth4 |
Initial value:
(4,[1, 0, 0, 0, \ 0, 1, 0, 0, \ 0, 0, 1, 0, \ 0, 0, 0, 1])
tuple fsm_utils::pam2 = (1,[-1, 1]) |
tuple fsm_utils::pam4 = (1,[-3, -1, 3, 1]) |
tuple fsm_utils::pam8 = (1,[-7, -5, -3, -1, 1, 3, 5, 7]) |
tuple fsm_utils::psk4 |
Initial value:
(2,[1, 0, \ 0, 1, \ 0, -1,\ -1, 0])
tuple fsm_utils::psk8 |
Initial value:
(2,[math.cos(2*math.pi*0/8), math.sin(2*math.pi*0/8), \ math.cos(2*math.pi*1/8), math.sin(2*math.pi*1/8), \ math.cos(2*math.pi*2/8), math.sin(2*math.pi*2/8), \ math.cos(2*math.pi*3/8), math.sin(2*math.pi*3/8), \ math.cos(2*math.pi*4/8), math.sin(2*math.pi*4/8), \ math.cos(2*math.pi*5/8), math.sin(2*math.pi*5/8), \ math.cos(2*math.pi*6/8), math.sin(2*math.pi*6/8), \ math.cos(2*math.pi*7/8), math.sin(2*math.pi*7/8)])