From: Matt Ettus Date: Wed, 7 Oct 2009 01:08:10 +0000 (-0700) Subject: Merge branch 'wip/examples' of http://gnuradio.org/git/jblum into sync X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=294be2757673d2be26cdb8a51acecfbc36f6b2fb;p=debian%2Fgnuradio Merge branch 'wip/examples' of gnuradio.org/git/jblum into sync --- 294be2757673d2be26cdb8a51acecfbc36f6b2fb diff --cc gnuradio-examples/grc/demod/pam_timing.grc index 00000000,989c795a..8722714b mode 000000,100644..100644 --- a/gnuradio-examples/grc/demod/pam_timing.grc +++ b/gnuradio-examples/grc/demod/pam_timing.grc @@@ -1,0 -1,616 +1,1006 @@@ + + - Tue Oct 6 14:19:10 2009 ++ Tue Oct 6 18:00:19 2009 + + options + + id + top_block + + + _enabled + True + + + title + + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + - variable ++ random_source_x + + id - samp_rate ++ random_source_x_0 + + + _enabled + True + + - value - 32000 ++ type ++ byte ++ ++ ++ min ++ 0 ++ ++ ++ max ++ 2 ++ ++ ++ num_samps ++ 1000 ++ ++ ++ repeat ++ True + + + _coordinate - (128, 9) ++ (13, 80) + + + _rotation + 0 + + + - gr_uchar_to_float ++ const_source_x + + id - gr_uchar_to_float_0 ++ const_source_x_0 + + + _enabled + True + ++ ++ type ++ float ++ ++ ++ const ++ -0.5 ++ + + _coordinate - (270, 115) ++ (179, 160) + + + _rotation + 0 + + + - random_source_x ++ variable_slider + + id - random_source_x_0 ++ noise_amp + + + _enabled + True + + - type - byte ++ label ++ noise_amp ++ ++ ++ value ++ 0 + + + min + 0 + + + max - 2 ++ 1.0 + + - num_samps ++ num_steps + 1000 + + - repeat ++ style ++ wx.SL_HORIZONTAL ++ ++ ++ converver ++ float_converter ++ ++ ++ grid_pos ++ ++ ++ ++ notebook ++ ++ ++ ++ _coordinate ++ (600, -1) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ gr_noise_source_x ++ ++ id ++ gr_noise_source_x_0 ++ ++ ++ _enabled + True + ++ ++ type ++ float ++ ++ ++ noise_type ++ gr.GR_GAUSSIAN ++ ++ ++ amp ++ noise_amp ++ ++ ++ seed ++ 42 ++ + + _coordinate - (13, 80) ++ (45, 497) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ root_raised_cosine_filter ++ ++ id ++ root_raised_cosine_filter_0 ++ ++ ++ _enabled ++ True ++ ++ ++ type ++ interp_fir_filter_fff ++ ++ ++ decim ++ 1 ++ ++ ++ interp ++ spb ++ ++ ++ gain ++ 2*spb ++ ++ ++ samp_rate ++ 1.0 ++ ++ ++ sym_rate ++ 1./spb ++ ++ ++ alpha ++ 0.35 ++ ++ ++ ntaps ++ 11*spb ++ ++ ++ _coordinate ++ (50, 295) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ gr_add_xx ++ ++ id ++ gr_add_xx_0_0 ++ ++ ++ _enabled ++ True ++ ++ ++ type ++ float ++ ++ ++ num_inputs ++ 2 ++ ++ ++ vlen ++ 1 ++ ++ ++ _coordinate ++ (375, 390) + + + _rotation + 0 + + + + const_source_x + + id - const_source_x_0 ++ const_source_x_1 + + + _enabled + True + + + type + float + + - const - -0.5 ++ const ++ 0 ++ ++ ++ _coordinate ++ (36, 723) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ variable ++ ++ id ++ spb ++ ++ ++ _enabled ++ True ++ ++ ++ value ++ 4 ++ ++ ++ _coordinate ++ (34, 915) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ variable ++ ++ id ++ nfilts ++ ++ ++ _enabled ++ True ++ ++ ++ value ++ 32 ++ ++ ++ _coordinate ++ (31, 828) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ variable ++ ++ id ++ rrctaps ++ ++ ++ _enabled ++ True ++ ++ ++ value ++ firdes.root_raised_cosine(nfilts,1.0,0.25/nfilts, .35, 11*spb*nfilts) ++ ++ ++ _coordinate ++ (180, 935) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ gr_throttle ++ ++ id ++ gr_throttle_0 ++ ++ ++ _enabled ++ True ++ ++ ++ type ++ complex ++ ++ ++ samples_per_second ++ samp_rate ++ ++ ++ vlen ++ 1 ++ ++ ++ _coordinate ++ (757, 418) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ gr_uchar_to_float ++ ++ id ++ gr_uchar_to_float_0 ++ ++ ++ _enabled ++ True ++ ++ ++ _coordinate ++ (261, 107) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ gr_float_to_complex ++ ++ id ++ gr_float_to_complex_0 ++ ++ ++ _enabled ++ True ++ ++ ++ vlen ++ 1 + + + _coordinate - (179, 160) ++ (380, 553) + + + _rotation + 0 + + + - variable_chooser ++ gr_fractional_interpolator_xx + + id - spb ++ gr_fractional_interpolator_xx_0 + + + _enabled + True + + - label - Samples Per Bit ++ type ++ complex + + - value - 4 ++ phase_shift ++ 0.5 + + - choices - [1, 2, 3, 4, 5, 6, 7, 8] ++ interp_ratio ++ 1 + + - labels - [] ++ _coordinate ++ (349, 662) + + - type - drop_down ++ _rotation ++ 0 + ++ ++ ++ variable + - style - wx.RA_HORIZONTAL ++ id ++ samp_rate + + - grid_pos - ++ _enabled ++ True + + - notebook - ++ value ++ 320000 + + + _coordinate - (0, 834) ++ (128, 9) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0 + + + _enabled + True + + + type - float ++ complex + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + grid_pos + + + + notebook + + + + _coordinate - (750, 128) - - - _rotation - 0 - - - - gr_add_xx - - id - gr_add_xx_0 - - - _enabled - True - - - type - float - - - num_inputs - 2 - - - vlen - 1 - - - _coordinate - (505, 128) ++ (789, 258) + + + _rotation + 0 + + + + variable_slider + + id - noise_amp ++ gain + + + _enabled + True + + + label - noise_amp ++ Gain + + + value + 0 + + + min + 0 + + + max - 1.0 ++ 1 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate - (600, -1) ++ (757, -1) + + + _rotation + 0 + + + - gr_throttle ++ gr_add_xx + + id - gr_throttle_0 ++ gr_add_xx_0 + + + _enabled + True + + + type + float + + - samples_per_second - samp_rate ++ num_inputs ++ 2 + + + vlen + 1 + + + _coordinate - (561, 284) ++ (482, 130) + + + _rotation + 0 + + + - gr_noise_source_x ++ notebook + + id - gr_noise_source_x_0 ++ notebook_0 + + + _enabled + True + + - type - float ++ style ++ wx.NB_TOP + + - noise_type - gr.GR_GAUSSIAN ++ labels ++ ['error', 'phase', 'freq'] + + - amp - noise_amp ++ grid_pos ++ + + - seed - 42 ++ notebook ++ + + + _coordinate - (45, 497) ++ (851, 531) + + + _rotation + 0 + + + - root_raised_cosine_filter ++ wxgui_scopesink2 + + id - root_raised_cosine_filter_0 ++ wxgui_scopesink2_0_0 + + + _enabled + True + + + type - interp_fir_filter_fff ++ float + + - decim - 1 ++ title ++ Scope Plot + + - interp - spb ++ samp_rate ++ samp_rate + + - gain - 2*spb ++ v_scale ++ 0 + + - samp_rate - 1.0 ++ t_scale ++ 0 + + - sym_rate - 1./spb ++ ac_couple ++ False + + - alpha - 0.35 ++ xy_mode ++ False + + - ntaps - 11*spb ++ num_inputs ++ 1 ++ ++ ++ grid_pos ++ ++ ++ ++ notebook ++ notebook_0,0 + + + _coordinate - (50, 295) ++ (798, 638) + + + _rotation + 0 + + + - gr_add_xx ++ wxgui_scopesink2 + + id - gr_add_xx_0_0 ++ wxgui_scopesink2_0_0_0 + + + _enabled + True + + + type + float + + - num_inputs - 2 ++ title ++ Scope Plot + + - vlen ++ samp_rate ++ samp_rate ++ ++ ++ v_scale ++ 0 ++ ++ ++ t_scale ++ 0 ++ ++ ++ ac_couple ++ False ++ ++ ++ xy_mode ++ False ++ ++ ++ num_inputs + 1 + ++ ++ grid_pos ++ ++ ++ ++ notebook ++ notebook_0,1 ++ + + _coordinate - (374, 389) ++ (792, 777) + + + _rotation + 0 + + + - root_raised_cosine_filter ++ gr_pfb_clock_sync_ccf + + id - root_raised_cosine_filter_0_0 ++ gr_pfb_clock_sync_ccf_0 + + + _enabled + True + + - type - interp_fir_filter_fff ++ sps ++ spb + + - decim - 1 ++ gain ++ gain + + - interp - 1 ++ taps ++ rrctaps + + - gain - 1 ++ filter_size ++ nfilts ++ ++ ++ init_phase ++ 14 ++ ++ ++ _coordinate ++ (341, 777) ++ ++ ++ _rotation ++ 0 ++ ++ ++ ++ wxgui_scopesink2 ++ ++ id ++ wxgui_scopesink2_0_0_0_0 ++ ++ ++ _enabled ++ True ++ ++ ++ type ++ float ++ ++ ++ title ++ Scope Plot + + + samp_rate - 1.0 ++ samp_rate + + - sym_rate - 1./spb ++ v_scale ++ 0 + + - alpha - 0.35 ++ t_scale ++ 0 + + - ntaps - 11*spb ++ ac_couple ++ False ++ ++ ++ xy_mode ++ False ++ ++ ++ num_inputs ++ 1 ++ ++ ++ grid_pos ++ ++ ++ ++ notebook ++ notebook_0,2 + + + _coordinate - (376, 598) ++ (797, 915) + + + _rotation + 0 + + + + random_source_x_0 + gr_uchar_to_float_0 + 0 + 0 + + + gr_uchar_to_float_0 + gr_add_xx_0 + 0 + 0 + + + const_source_x_0 + gr_add_xx_0 + 0 + 1 + + + gr_add_xx_0 + root_raised_cosine_filter_0 + 0 + 0 + + + gr_throttle_0 + wxgui_scopesink2_0 + 0 + 0 + + + root_raised_cosine_filter_0 + gr_add_xx_0_0 + 0 + 0 + + + gr_noise_source_x_0 + gr_add_xx_0_0 + 0 + 1 + + + gr_add_xx_0_0 - root_raised_cosine_filter_0_0 ++ gr_float_to_complex_0 + 0 + 0 + + - root_raised_cosine_filter_0_0 ++ const_source_x_1 ++ gr_float_to_complex_0 ++ 0 ++ 1 ++ ++ ++ gr_pfb_clock_sync_ccf_0 + gr_throttle_0 + 0 + 0 + ++ ++ gr_pfb_clock_sync_ccf_0 ++ wxgui_scopesink2_0_0 ++ 1 ++ 0 ++ ++ ++ gr_float_to_complex_0 ++ gr_fractional_interpolator_xx_0 ++ 0 ++ 0 ++ ++ ++ gr_fractional_interpolator_xx_0 ++ gr_pfb_clock_sync_ccf_0 ++ 0 ++ 0 ++ ++ ++ gr_pfb_clock_sync_ccf_0 ++ wxgui_scopesink2_0_0_0 ++ 3 ++ 0 ++ ++ ++ gr_pfb_clock_sync_ccf_0 ++ wxgui_scopesink2_0_0_0_0 ++ 2 ++ 0 ++ +