Thu Jul 5 15:57:06 2012 options id ber_simulation _enabled True title BER Simulation author Example description Adjust the noise and constellation... see what happens! window_size 1280, 1024 generate_options wx_gui category Custom run_options prompt run True max_nouts 0 realtime_scheduling _coordinate (16, 10) _rotation 0 gr_throttle id gr_throttle _enabled True type byte samples_per_second samp_rate vlen 1 _coordinate (284, 24) _rotation 0 gr_add_xx id gr_add_xx _enabled True type complex num_inputs 2 vlen 1 _coordinate (486, 151) _rotation 0 digital_constellation_decoder_cb id digital_constellation_decoder_cb_0 _enabled True constellation const.base() _coordinate (618, 164) _rotation 0 wxgui_numbersink2 id wxgui_numbersink2 _enabled True type float title BER units % samp_rate samp_rate min_value 0.0 max_value 1.0 factor 100 decimal_places 4 ref_level 0 number_rate 15 peak_hold False average False avg_alpha 0 show_gauge False win_size grid_pos 1, 0, 1, 1 notebook _coordinate (791, 228) _rotation 180 import id import _enabled True import import math _coordinate (18, 373) _rotation 0 variable id const _enabled True value digital.qpsk_constellation() _coordinate (116, 310) _rotation 0 variable id samp_rate _enabled True value 100e3 _coordinate (16, 308) _rotation 0 wxgui_scopesink2 id wxgui_scopesink2_0 _enabled True type complex title "Constellation: "+str(const.arity()) + "-PSK" samp_rate samp_rate v_scale 0 v_offset 0 t_scale 0 ac_couple False xy_mode True num_inputs 1 win_size grid_pos 2, 0, 1, 1 notebook trig_mode gr.gr_TRIG_MODE_AUTO y_axis_label Counts _coordinate (623, 228) _rotation 0 blks2_error_rate id blks2_error_rate _enabled True type 'BER' win_size int(1e7) bits_per_symbol const.bits_per_symbol() _coordinate (720, 25) _rotation 0 gr_noise_source_x id gr_noise_source_x _enabled True type complex noise_type gr.GR_GAUSSIAN amp 1.0 / math.sqrt(2.0 * const.bits_per_symbol() * 10**(EbN0/10)) seed 42 _coordinate (16, 224) _rotation 0 gr_chunks_to_symbols_xx id gr_chunks_to_symbols_xx _enabled True in_type byte out_type complex symbol_table const.points() dimension 1 num_ports 1 _coordinate (240, 140) _rotation 0 variable_slider id EbN0 _enabled True label Eb/N0 (dB) value 10 min -10 max 200 num_steps 211 style wx.SL_HORIZONTAL converver float_converter grid_pos notebook _coordinate (311, 309) _rotation 0 random_source_x id random_source_x _enabled True type byte min 0 max const.arity() num_samps 10000000 repeat True _coordinate (17, 125) _rotation 0 blks2_error_rate wxgui_numbersink2 0 0 gr_throttle blks2_error_rate 0 0 gr_chunks_to_symbols_xx gr_add_xx 0 0 gr_noise_source_x gr_add_xx 0 1 random_source_x gr_throttle 0 0 random_source_x gr_chunks_to_symbols_xx 0 0 gr_add_xx wxgui_scopesink2_0 0 0 digital_constellation_decoder_cb_0 blks2_error_rate 0 1 gr_add_xx digital_constellation_decoder_cb_0 0 0