summaryrefslogtreecommitdiff
path: root/gr-blocks/examples/ctrlport/comparing_resamplers.grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/examples/ctrlport/comparing_resamplers.grc')
-rw-r--r--gr-blocks/examples/ctrlport/comparing_resamplers.grc563
1 files changed, 173 insertions, 390 deletions
diff --git a/gr-blocks/examples/ctrlport/comparing_resamplers.grc b/gr-blocks/examples/ctrlport/comparing_resamplers.grc
index e5cc973de0..5d57849c2f 100644
--- a/gr-blocks/examples/ctrlport/comparing_resamplers.grc
+++ b/gr-blocks/examples/ctrlport/comparing_resamplers.grc
@@ -1,390 +1,173 @@
-<?xml version='1.0' encoding='ASCII'?>
-<flow_graph>
- <timestamp>Thu May 23 22:25:13 2013</timestamp>
- <block>
- <key>options</key>
- <param>
- <key>id</key>
- <value>comparing_resamplers</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>title</key>
- <value></value>
- </param>
- <param>
- <key>author</key>
- <value></value>
- </param>
- <param>
- <key>description</key>
- <value></value>
- </param>
- <param>
- <key>window_size</key>
- <value>570,390</value>
- </param>
- <param>
- <key>generate_options</key>
- <value>no_gui</value>
- </param>
- <param>
- <key>category</key>
- <value>Custom</value>
- </param>
- <param>
- <key>run_options</key>
- <value>prompt</value>
- </param>
- <param>
- <key>run</key>
- <value>True</value>
- </param>
- <param>
- <key>max_nouts</key>
- <value>0</value>
- </param>
- <param>
- <key>realtime_scheduling</key>
- <value></value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(10, 10)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>blocks_throttle</key>
- <param>
- <key>id</key>
- <value>blocks_throttle_0</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>type</key>
- <value>complex</value>
- </param>
- <param>
- <key>samples_per_second</key>
- <value>samp_rate</value>
- </param>
- <param>
- <key>vlen</key>
- <value>1</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(191, 125)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>blocks_ctrlport_probe2_c</key>
- <param>
- <key>id</key>
- <value>probe_arc_resamp</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>name</key>
- <value>arb_resampler</value>
- </param>
- <param>
- <key>desc</key>
- <value>PFB Arbitrary Resampler</value>
- </param>
- <param>
- <key>len</key>
- <value>1024</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(9, 296)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>180</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>id</key>
- <value>resamp_rate</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>value</key>
- <value>1.25</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(272, 9)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>pfb_arb_resampler_xxx</key>
- <param>
- <key>id</key>
- <value>pfb_arb_resampler_xxx_0</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>type</key>
- <value>ccf</value>
- </param>
- <param>
- <key>rrate</key>
- <value>resamp_rate</value>
- </param>
- <param>
- <key>taps</key>
- <value></value>
- </param>
- <param>
- <key>nfilts</key>
- <value>32</value>
- </param>
- <param>
- <key>atten</key>
- <value>60</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(305, 280)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>180</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>id</key>
- <value>samp_rate</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>value</key>
- <value>30e6</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(181, 10)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>analog_sig_source_x</key>
- <param>
- <key>id</key>
- <value>analog_sig_source_x_0</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>type</key>
- <value>complex</value>
- </param>
- <param>
- <key>samp_rate</key>
- <value>samp_rate</value>
- </param>
- <param>
- <key>waveform</key>
- <value>analog.GR_COS_WAVE</value>
- </param>
- <param>
- <key>freq</key>
- <value>samp_rate/10</value>
- </param>
- <param>
- <key>amp</key>
- <value>1</value>
- </param>
- <param>
- <key>offset</key>
- <value>0</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(11, 93)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>channels_channel_model</key>
- <param>
- <key>id</key>
- <value>channels_channel_model_0</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>noise_voltage</key>
- <value>0.1</value>
- </param>
- <param>
- <key>freq_offset</key>
- <value>0.0</value>
- </param>
- <param>
- <key>epsilon</key>
- <value>1.0</value>
- </param>
- <param>
- <key>taps</key>
- <value>[1,]</value>
- </param>
- <param>
- <key>seed</key>
- <value>0</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(382, 93)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>mmse_resampler_xx</key>
- <param>
- <key>id</key>
- <value>mmse_resampler_xx_0</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>type</key>
- <value>complex</value>
- </param>
- <param>
- <key>phase_shift</key>
- <value>0</value>
- </param>
- <param>
- <key>resamp_ratio</key>
- <value>resamp_rate</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(354, 212)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>180</value>
- </param>
- </block>
- <block>
- <key>blocks_ctrlport_probe2_c</key>
- <param>
- <key>id</key>
- <value>probe_frac_resamp</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>name</key>
- <value>mmse_resamp</value>
- </param>
- <param>
- <key>desc</key>
- <value>Fractional Resampler</value>
- </param>
- <param>
- <key>len</key>
- <value>1024</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(10, 204)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>180</value>
- </param>
- </block>
- <connection>
- <source_block_id>analog_sig_source_x_0</source_block_id>
- <sink_block_id>blocks_throttle_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
- <source_block_id>blocks_throttle_0</source_block_id>
- <sink_block_id>channels_channel_model_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
- <source_block_id>channels_channel_model_0</source_block_id>
- <sink_block_id>pfb_arb_resampler_xxx_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
- <source_block_id>channels_channel_model_0</source_block_id>
- <sink_block_id>mmse_resampler_xx_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
- <source_block_id>pfb_arb_resampler_xxx_0</source_block_id>
- <sink_block_id>probe_arc_resamp</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
- <source_block_id>mmse_resampler_xx_0</source_block_id>
- <sink_block_id>probe_frac_resamp</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
-</flow_graph>
+options:
+ parameters:
+ author: ''
+ category: Custom
+ cmake_opt: ''
+ comment: ''
+ copyright: ''
+ description: ''
+ gen_cmake: 'On'
+ gen_linking: dynamic
+ generate_options: no_gui
+ hier_block_src_path: '.:'
+ id: comparing_resamplers
+ max_nouts: '0'
+ output_language: python
+ placement: (0,0)
+ qt_qss_theme: ''
+ realtime_scheduling: ''
+ run: 'True'
+ run_command: '{python} -u {filename}'
+ run_options: prompt
+ sizing_mode: fixed
+ thread_safe_setters: ''
+ title: ''
+ window_size: 570,390
+ states:
+ coordinate: [10, 10]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: resamp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: '1.25'
+ states:
+ coordinate: [272, 9]
+ rotation: 0
+ state: enabled
+- name: samp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: 30e6
+ states:
+ coordinate: [181, 10]
+ rotation: 0
+ state: enabled
+- name: analog_sig_source_x_0
+ id: analog_sig_source_x
+ parameters:
+ affinity: ''
+ alias: ''
+ amp: '1'
+ comment: ''
+ freq: samp_rate/10
+ maxoutbuf: ''
+ minoutbuf: ''
+ offset: '0'
+ samp_rate: samp_rate
+ type: complex
+ waveform: analog.GR_COS_WAVE
+ states:
+ coordinate: [32, 124.0]
+ rotation: 0
+ state: enabled
+- name: blocks_throttle_0
+ id: blocks_throttle
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ ignoretag: 'True'
+ maxoutbuf: ''
+ minoutbuf: ''
+ samples_per_second: samp_rate
+ type: complex
+ vlen: '1'
+ states:
+ coordinate: [192, 156.0]
+ rotation: 0
+ state: enabled
+- name: channels_channel_model_0
+ id: channels_channel_model
+ parameters:
+ affinity: ''
+ alias: ''
+ block_tags: 'False'
+ comment: ''
+ epsilon: '1.0'
+ freq_offset: '0.0'
+ maxoutbuf: ''
+ minoutbuf: ''
+ noise_voltage: '0.1'
+ seed: '0'
+ taps: '[1,]'
+ states:
+ coordinate: [352, 116.0]
+ rotation: 0
+ state: enabled
+- name: mmse_resampler_xx_0
+ id: mmse_resampler_xx
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: ''
+ minoutbuf: ''
+ phase_shift: '0'
+ resamp_ratio: resamp_rate
+ type: complex
+ states:
+ coordinate: [608, 248.0]
+ rotation: 0
+ state: enabled
+- name: pfb_arb_resampler_xxx_0
+ id: pfb_arb_resampler_xxx
+ parameters:
+ affinity: ''
+ alias: ''
+ atten: '60'
+ comment: ''
+ maxoutbuf: ''
+ minoutbuf: ''
+ nfilts: '32'
+ rrate: resamp_rate
+ samp_delay: '0'
+ taps: ''
+ type: ccf
+ states:
+ coordinate: [608, 132.0]
+ rotation: 0
+ state: enabled
+- name: probe_arc_resamp
+ id: blocks_ctrlport_probe2_c
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ desc: PFB Arbitrary Resampler
+ disp_mask: gr.DISPTIME
+ len: '1024'
+ name: arb_resampler
+ states:
+ coordinate: [856, 132.0]
+ rotation: 0
+ state: enabled
+- name: probe_frac_resamp
+ id: blocks_ctrlport_probe2_c
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ desc: Fractional Resampler
+ disp_mask: gr.DISPTIME
+ len: '1024'
+ name: mmse_resamp
+ states:
+ coordinate: [856, 252.0]
+ rotation: 0
+ state: enabled
+
+connections:
+- [analog_sig_source_x_0, '0', blocks_throttle_0, '0']
+- [blocks_throttle_0, '0', channels_channel_model_0, '0']
+- [channels_channel_model_0, '0', mmse_resampler_xx_0, '0']
+- [channels_channel_model_0, '0', pfb_arb_resampler_xxx_0, '0']
+- [mmse_resampler_xx_0, '0', probe_frac_resamp, '0']
+- [pfb_arb_resampler_xxx_0, '0', probe_arc_resamp, '0']
+
+metadata:
+ file_format: 1