/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-digital/python/digital/ |
H A D | qa_ofdm_carrier_allocator_cvc.py | 39 tx_symbols = (1, 2, 3) 47 src = blocks.vector_source_c(tx_symbols, False, 1) 68 tx_symbols = (1, 2, 3) 75 src = blocks.vector_source_c(tx_symbols, False, 1) 93 tx_symbols = (1, 2, 3) 98 src = blocks.vector_source_c(tx_symbols, False, 1) 120 tx_symbols = (1, 2, 3, 4, 5, 6) 134 tx_symbols, False, 1, 167 tx_symbols = list(range(1, 16)); # 15 symbols 184 testtag3.offset = len(tx_symbols)+1 # First OFDM symbol of packet 2 [all …]
|
H A D | qa_ofdm_serializer_vcc.py | 42 tx_symbols = (0, 1, 1j, 2, 3, 0, 0, 0, 0, 0, 0, 4, 5, 2j, 6, 0, 47 n_syms = len(tx_symbols) // fft_len 48 src = blocks.vector_source_c(tx_symbols, False, fft_len) 58 tx_symbols = ( 65 n_syms = len(tx_symbols) // fft_len 66 src = blocks.vector_source_c(tx_symbols, False, fft_len) 76 tx_symbols = list(range(1, 16)); 83 n_syms = len(tx_symbols) // fft_len 187 tx_symbols = list(range(1, 16)); 193 n_syms = len(tx_symbols) // fft_len [all …]
|
/dports/audio/codec2/codec2-1.0.3/octave/ |
H A D | esno_est.m | 71 tx_symbols = 2*(rand(1,Nsym) > 0.5) -1 + j*(2*(rand(1,Nsym) > 0.5) - 1); variable 72 tx_symbols *= exp(-j*pi/4)/sqrt(2); 76 spread = doppler_spread(2.0, 50, length(tx_symbols)); 77 tx_symbols = tx_symbols .* abs(spread); variable 79 S = tx_symbols*tx_symbols'; 80 tx_symbols *= sqrt(Nsym/S); 88 S = tx_symbols*tx_symbols'; 91 rx_symbols = tx_symbols + noise; 99 figure(2); plot(tx_symbols,'+');
|
H A D | ofdm_ldpc_tx.m | 74 tx_symbols = []; variable 76 if bps == 2 tx_symbols = [tx_symbols qpsk_mod(packet_bits(b:b+bps-1))]; end 77 if bps == 4 tx_symbols = [tx_symbols qam16_mod(states.qam16, packet_bits(b:b+bps-1))]; end 79 assert(gp_deinterleave(gp_interleave(tx_symbols)) == tx_symbols); 80 tx_symbols = gp_interleave(tx_symbols); variable 91 modem_packet = assemble_modem_packet_symbols(states, tx_symbols, txt_symbols);
|
H A D | fdmdv_mod.m | 22 tx_symbols = bits_to_qpsk(prev_tx_symbols, tx_bits,'dqpsk'); variable 23 prev_tx_symbols = tx_symbols; 24 tx_baseband = tx_filter(tx_symbols);
|
H A D | cohpsk_plots.m | 14 tx_symbols = 2*tx_bits - 1; variable 18 tx((i-1)*M+1:i*M) = tx_symbols(i); 66 tx1((i-1)*M1+1:i*M1) = tx_symbols(i); 67 tx2((i-1)*M2+1:i*M2) = tx_symbols(i);
|
H A D | fsk_llr_test.m | 42 function [raw_ber rx_filt rx_bits tx_symbols demapper sig_est ] = run_single(tx_bits, M, EcNodB, p… 54 tx_symbols = zeros(1,Nsymbols); variable 74 tx_symbols(s) = symbol_index; 131 if plt==1, plot_hist(rx_filt,tx_symbols, M); end 137 function plot_hist(rx_filt,tx_symbols, M) 143 ind = tx_symbols==m; 144 ind2 = tx_symbols~=m; 209 [raw_ber rx_filt rx_bits tx_symbols demapper sig_est ] = run_single(tx_bits,M,EcNodB, 0 );
|
H A D | ldpcut.m | 73 tx_symbols = []; variable 81 tx_symbols = [tx_symbols atx_symbols]; variable 84 rx_symbols = tx_symbols; 88 noise = sqrt(variance*0.5)*(randn(1,length(tx_symbols)) + j*randn(1,length(tx_symbols)));
|
H A D | qam16_test.m | 46 [tx_codeword, tx_symbols] = ldpc_enc(tx_bits, code_param); 47 noise = sqrt(variance*0.5)*(randn(1,length(tx_symbols)) + j*randn(1,length(tx_symbols))); 48 rx_symbols = tx_symbols + noise;
|
H A D | fsk_cml_sam.m | 48 function [raw_ber rx_filt rx_bits tx_symbols demapper sig_est SNRest v_est] = ... 61 tx_symbols = zeros(1,Nsymbols); variable 81 tx_symbols(s) = symbol_index; 139 if plt==1, plot_hist(rx_filt,tx_symbols, M); end 172 [raw_ber rx_filt rx_bits tx_symbols demapper sig_est SNRlin v_est] = ... 221 function plot_hist(rx_filt,tx_symbols, M) 227 ind = tx_symbols==m; 228 ind2 = tx_symbols~=m;
|
H A D | vq_compare.m | 196 tx_symbols = []; variable 199 tx_symbols = [tx_symbols atx_symbols]; variable 202 noise = sqrt(variance*0.5)*(randn(1,length(tx_symbols)) + j*randn(1,length(tx_symbols))); 203 rx_symbols = tx_symbols+noise;
|
H A D | tfdmdv.m | 104 [tx_symbols f] = bits_to_psk(f, prev_tx_symbols, tx_bits, 'dqpsk'); 105 prev_tx_symbols = tx_symbols; 106 tx_symbols_log = [tx_symbols_log tx_symbols]; 107 [tx_baseband f] = tx_filter(f, tx_symbols); 285 check(tx_symbols_log, tx_symbols_log_c, 'tx_symbols');
|
H A D | fdmdv_ut_freq_off.m | 178 tx_symbols = bits_to_psk(prev_tx_symbols, tx_bits, 'dqpsk'); variable 181 % tx_symbols(1:6) = 0; tx_symbols(9:Nc) = 0; 183 prev_tx_symbols = tx_symbols; 184 tx_baseband = tx_filter(tx_symbols);
|
H A D | fdmdv_ut.m | 119 tx_symbols = bits_to_psk(prev_tx_symbols, tx_bits, modulation); variable 120 prev_tx_symbols = tx_symbols; 121 tx_baseband = tx_filter(tx_symbols);
|
H A D | fdmdv_common.m | 11 function [tx_baseband fdmdv] = tx_filter(fdmdv, tx_symbols) 23 tx_filter_memory(:,Nfilter) = sqrt(2)/2*tx_symbols;
|
H A D | gmsk.m | 127 function [tx tx_filt tx_symbols] = gmsk_mod(gmsk_states, tx_bits) 135 tx_symbols = zeros(1,nsam); variable 137 tx_symbols(1+(i-1)*M:i*M) = -1 + 2*tx_bits(i); 140 tx_filt = filter(gmsk_states.mod_coeff, 1, tx_symbols); 417 [tx tx_filt tx_symbols] = gmsk_mod(gmsk_states, tx_bits); 714 [tx tx_filt tx_symbols] = gmsk_mod(gmsk_states, tx_bits); 819 [tx tx_filt tx_symbols] = gmsk_mod(gmsk_states, tx_bits);
|
H A D | fsk4_dmr.m | 73 tx_symbols = lbits + hbits*2 + 1; variable 75 nsym = length(tx_symbols); 80 tx_stream(1+(i-1)*M:i*M) = fsk4_states.symmap(tx_symbols(i));
|
H A D | fdmdv.m | 157 function [tx_symbols f] = bits_to_psk(f, prev_tx_symbols, tx_bits) 198 tx_symbols(c) = exp(j*phase_shift) * prev_tx_symbols(c); 205 tx_symbols(Nc+1) = -prev_tx_symbols(Nc+1); 207 tx_symbols(Nc+1) = prev_tx_symbols(Nc+1);
|
H A D | ofdm_lib.m | 1315 tx_symbols = []; variable 1317 tx_symbols = [tx_symbols qpsk_mod( codeword(2*(s-1)+1:2*s) )]; variable 1320 tx_symbols = gp_interleave(tx_symbols); variable 1324 codeword_raw = [codeword_raw qpsk_demod(tx_symbols(s))];
|
/dports/audio/codec2/codec2-1.0.3/src/ |
H A D | interldpc.c | 92 void qpsk_modulate_frame(COMP tx_symbols[], int codeword[], int n) { in qpsk_modulate_frame() argument 101 tx_symbols[i].real = crealf(qpsk_symb); in qpsk_modulate_frame() 102 tx_symbols[i].imag = cimagf(qpsk_symb); in qpsk_modulate_frame() 176 complex float tx_symbols[Nbitsperpacket/ ofdm->bps]; in ofdm_ldpc_interleave_tx() local 181 ofdm_assemble_qpsk_modem_packet_symbols(ofdm, tx_symbols, payload_symbols_inter, txt_bits); in ofdm_ldpc_interleave_tx() 182 ofdm_txframe(ofdm, tx_sams, tx_symbols); in ofdm_ldpc_interleave_tx()
|
H A D | fdmdv_internal.h | 169 void bits_to_dqpsk_symbols(COMP tx_symbols[], int Nc, COMP prev_tx_symbols[], int tx_bits[], int *p… 170 void tx_filter(COMP tx_baseband[NC+1][M_FAC], int Nc, COMP tx_symbols[], COMP tx_filter_memory[NC+1… 173 void tx_filter_and_upconvert(COMP tx_fdm[], int Nc, COMP tx_symbols[],
|
H A D | fdmdv.c | 299 tx_symbols[c] = prev_tx_symbols[c]; in bits_to_dqpsk_symbols() 301 tx_symbols[c] = cmult(j, prev_tx_symbols[c]); in bits_to_dqpsk_symbols() 304 tx_symbols[c] = cneg(prev_tx_symbols[c]); in bits_to_dqpsk_symbols() 306 tx_symbols[c] = cmult(cneg(j),prev_tx_symbols[c]); in bits_to_dqpsk_symbols() 310 tx_symbols[c] = cmult(cneg(j),prev_tx_symbols[c]); in bits_to_dqpsk_symbols() 312 tx_symbols[c] = cneg(prev_tx_symbols[c]); in bits_to_dqpsk_symbols() 320 tx_symbols[Nc] = cneg(prev_tx_symbols[Nc]); in bits_to_dqpsk_symbols() 322 tx_symbols[Nc] = prev_tx_symbols[Nc]; in bits_to_dqpsk_symbols() 353 tx_filter_memory[c][NSYM-1] = cmult(tx_symbols[c], gain); in tx_filter() 426 tx_filter_memory[c][NSYM-1] = cmult(tx_symbols[c], gain); in tx_filter_and_upconvert() [all …]
|
H A D | interldpc.h | 40 void qpsk_modulate_frame(COMP tx_symbols[], int codeword[], int n);
|
H A D | cohpsk_internal.h | 114 void tx_filter_and_upconvert_coh(COMP tx_fdm[], int Nc, const COMP tx_symbols[],
|
/dports/audio/codec2/codec2-1.0.3/unittest/ |
H A D | tfdmdv.c | 50 COMP tx_symbols[FDMDV_NC+1]; in main() local 113 …bits_to_dqpsk_symbols(tx_symbols, FDMDV_NC, fdmdv->prev_tx_symbols, tx_bits, &fdmdv->tx_pilot_bit,… in main() 114 memcpy(fdmdv->prev_tx_symbols, tx_symbols, sizeof(COMP)*(FDMDV_NC+1)); in main() 115 tx_filter_and_upconvert(tx_fdm, FDMDV_NC , tx_symbols, fdmdv->tx_filter_memory, in main() 197 memcpy(&tx_symbols_log[(FDMDV_NC+1)*f], tx_symbols, sizeof(COMP)*(FDMDV_NC+1)); in main()
|