summaryrefslogtreecommitdiff
path: root/gr-fec/examples/polar_ber_curve_gen.grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fec/examples/polar_ber_curve_gen.grc')
-rw-r--r--gr-fec/examples/polar_ber_curve_gen.grc1925
1 files changed, 323 insertions, 1602 deletions
diff --git a/gr-fec/examples/polar_ber_curve_gen.grc b/gr-fec/examples/polar_ber_curve_gen.grc
index 19fbaba4fc..326c28079a 100644
--- a/gr-fec/examples/polar_ber_curve_gen.grc
+++ b/gr-fec/examples/polar_ber_curve_gen.grc
@@ -1,1602 +1,323 @@
-<?xml version='1.0' encoding='utf-8'?>
-<?grc format='1' created='3.7.9'?>
-<flow_graph>
- <timestamp>Fri Jul 17 15:23:09 2015</timestamp>
- <block>
- <key>options</key>
- <param>
- <key>author</key>
- <value>Johannes Demel</value>
- </param>
- <param>
- <key>alias</key>
- <value></value>
- </param>
- <param>
- <key>window_size</key>
- <value>1920,1080</value>
- </param>
- <param>
- <key>category</key>
- <value>Custom</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>description</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(10, 10)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>generate_options</key>
- <value>qt_gui</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_ber_curve_gen</value>
- </param>
- <param>
- <key>max_nouts</key>
- <value>0</value>
- </param>
- <param>
- <key>realtime_scheduling</key>
- <value></value>
- </param>
- <param>
- <key>run_options</key>
- <value>prompt</value>
- </param>
- <param>
- <key>run</key>
- <value>True</value>
- </param>
- <param>
- <key>thread_safe_setters</key>
- <value></value>
- </param>
- <param>
- <key>title</key>
- <value>polar code BER curve generator</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(304, 35)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>block_size</value>
- </param>
- <param>
- <key>value</key>
- <value>1024</value>
- </param>
- </block>
- <block>
- <key>variable_cc_decoder_def</key>
- <param>
- <key>padding</key>
- <value>False</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>k</key>
- <value>k</value>
- </param>
- <param>
- <key>dim1</key>
- <value>len(esno)</value>
- </param>
- <param>
- <key>dim2</key>
- <value>1</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>state_end</key>
- <value>-1</value>
- </param>
- <param>
- <key>framebits</key>
- <value>frame_size</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1368, 395)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>dec_cc</value>
- </param>
- <param>
- <key>value</key>
- <value>"ok"</value>
- </param>
- <param>
- <key>ndim</key>
- <value>2</value>
- </param>
- <param>
- <key>polys</key>
- <value>polys</value>
- </param>
- <param>
- <key>rate</key>
- <value>rate</value>
- </param>
- <param>
- <key>state_start</key>
- <value>0</value>
- </param>
- <param>
- <key>mode</key>
- <value>fec.CC_STREAMING</value>
- </param>
- </block>
- <block>
- <key>variable_cc_encoder_def</key>
- <param>
- <key>padding</key>
- <value>False</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>k</key>
- <value>k</value>
- </param>
- <param>
- <key>dim1</key>
- <value>len(esno)</value>
- </param>
- <param>
- <key>dim2</key>
- <value>1</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>framebits</key>
- <value>frame_size</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1368, 187)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>enc_cc</value>
- </param>
- <param>
- <key>ndim</key>
- <value>2</value>
- </param>
- <param>
- <key>polys</key>
- <value>polys</value>
- </param>
- <param>
- <key>rate</key>
- <value>rate</value>
- </param>
- <param>
- <key>state_start</key>
- <value>0</value>
- </param>
- <param>
- <key>mode</key>
- <value>fec.CC_STREAMING</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(704, 19)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>esno</value>
- </param>
- <param>
- <key>value</key>
- <value>numpy.arange(-1, 4, 0.5)</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1440, 51)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>frame_size</value>
- </param>
- <param>
- <key>value</key>
- <value>block_size / 2</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1368, 115)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>k</value>
- </param>
- <param>
- <key>value</key>
- <value>7</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(536, 171)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>list_size</value>
- </param>
- <param>
- <key>value</key>
- <value>8</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(424, 35)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>n_info_bits</value>
- </param>
- <param>
- <key>value</key>
- <value>block_size / 2</value>
- </param>
- </block>
- <block>
- <key>variable_polar_code_configurator</key>
- <param>
- <key>num_info_bits</key>
- <value>n_info_bits</value>
- </param>
- <param>
- <key>block_size</key>
- <value>block_size</value>
- </param>
- <param>
- <key>channel</key>
- <value>polar.CHANNEL_TYPE_BEC</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(328, 107)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_config</value>
- </param>
- <param>
- <key>design_snr</key>
- <value>0.0</value>
- </param>
- <param>
- <key>mu</key>
- <value>32</value>
- </param>
- </block>
- <block>
- <key>variable_polar_decoder_sc_def</key>
- <param>
- <key>num_info_bits</key>
- <value>n_info_bits</value>
- </param>
- <param>
- <key>block_size</key>
- <value>block_size</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>dim1</key>
- <value>len(esno)</value>
- </param>
- <param>
- <key>dim2</key>
- <value>1</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>frozen_bit_positions</key>
- <value>polar_config['positions']</value>
- </param>
- <param>
- <key>frozen_bit_values</key>
- <value>polar_config['values']</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(192, 419)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_decoder</value>
- </param>
- <param>
- <key>ndim</key>
- <value>2</value>
- </param>
- </block>
- <block>
- <key>variable_polar_encoder_def</key>
- <param>
- <key>num_info_bits</key>
- <value>n_info_bits</value>
- </param>
- <param>
- <key>block_size</key>
- <value>block_size</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>dim1</key>
- <value>len(esno)</value>
- </param>
- <param>
- <key>dim2</key>
- <value>1</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>frozen_bit_positions</key>
- <value>polar_config['positions']</value>
- </param>
- <param>
- <key>frozen_bit_values</key>
- <value>polar_config['values']</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(192, 251)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_encoder</value>
- </param>
- <param>
- <key>is_packed</key>
- <value>False</value>
- </param>
- <param>
- <key>ndim</key>
- <value>2</value>
- </param>
- </block>
- <block>
- <key>variable_polar_encoder_def</key>
- <param>
- <key>num_info_bits</key>
- <value>n_info_bits</value>
- </param>
- <param>
- <key>block_size</key>
- <value>block_size</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>dim1</key>
- <value>len(esno)</value>
- </param>
- <param>
- <key>dim2</key>
- <value>1</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>frozen_bit_positions</key>
- <value>polar_config['positions']</value>
- </param>
- <param>
- <key>frozen_bit_values</key>
- <value>polar_config['values']</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(456, 243)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_encoder_scld</value>
- </param>
- <param>
- <key>is_packed</key>
- <value>False</value>
- </param>
- <param>
- <key>ndim</key>
- <value>2</value>
- </param>
- </block>
- <block>
- <key>variable_polar_decoder_sc_list_def</key>
- <param>
- <key>num_info_bits</key>
- <value>n_info_bits</value>
- </param>
- <param>
- <key>block_size</key>
- <value>block_size</value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>dim1</key>
- <value>len(esno)</value>
- </param>
- <param>
- <key>dim2</key>
- <value>1</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>frozen_bit_positions</key>
- <value>polar_config['positions']</value>
- </param>
- <param>
- <key>frozen_bit_values</key>
- <value>polar_config['values']</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(456, 411)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_scld</value>
- </param>
- <param>
- <key>max_list_size</key>
- <value>list_size</value>
- </param>
- <param>
- <key>ndim</key>
- <value>2</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1440, 115)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polys</value>
- </param>
- <param>
- <key>value</key>
- <value>[79, 109]</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1368, 51)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>rate</value>
- </param>
- <param>
- <key>value</key>
- <value>2</value>
- </param>
- </block>
- <block>
- <key>variable</key>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(16, 107)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>samp_rate</value>
- </param>
- <param>
- <key>value</key>
- <value>350e3</value>
- </param>
- </block>
- <block>
- <key>fec_bercurve_generator</key>
- <param>
- <key>alias</key>
- <value></value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>affinity</key>
- <value></value>
- </param>
- <param>
- <key>decoder_list</key>
- <value>polar_decoder</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>encoder_list</key>
- <value>polar_encoder</value>
- </param>
- <param>
- <key>esno</key>
- <value>esno</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(808, 123)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_curve_gen_sc</value>
- </param>
- <param>
- <key>maxoutbuf</key>
- <value>0</value>
- </param>
- <param>
- <key>minoutbuf</key>
- <value>0</value>
- </param>
- <param>
- <key>seed</key>
- <value>0</value>
- </param>
- <param>
- <key>puncpat</key>
- <value>'11'</value>
- </param>
- <param>
- <key>samp_rate</key>
- <value>3200000</value>
- </param>
- <param>
- <key>threadtype</key>
- <value>"none"</value>
- </param>
- <bus_source>1</bus_source>
- </block>
- <block>
- <key>fec_bercurve_generator</key>
- <param>
- <key>alias</key>
- <value></value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>affinity</key>
- <value></value>
- </param>
- <param>
- <key>decoder_list</key>
- <value>polar_scld</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>encoder_list</key>
- <value>polar_encoder_scld</value>
- </param>
- <param>
- <key>esno</key>
- <value>esno</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(808, 227)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_curve_gen_scld</value>
- </param>
- <param>
- <key>maxoutbuf</key>
- <value>0</value>
- </param>
- <param>
- <key>minoutbuf</key>
- <value>0</value>
- </param>
- <param>
- <key>seed</key>
- <value>0</value>
- </param>
- <param>
- <key>puncpat</key>
- <value>'11'</value>
- </param>
- <param>
- <key>samp_rate</key>
- <value>3200000</value>
- </param>
- <param>
- <key>threadtype</key>
- <value>"none"</value>
- </param>
- <bus_source>1</bus_source>
- </block>
- <block>
- <key>fec_bercurve_generator</key>
- <param>
- <key>alias</key>
- <value></value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>affinity</key>
- <value></value>
- </param>
- <param>
- <key>decoder_list</key>
- <value>dec_cc</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>encoder_list</key>
- <value>enc_cc</value>
- </param>
- <param>
- <key>esno</key>
- <value>esno</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(808, 331)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>polar_curve_gen_scld_0</value>
- </param>
- <param>
- <key>maxoutbuf</key>
- <value>0</value>
- </param>
- <param>
- <key>minoutbuf</key>
- <value>0</value>
- </param>
- <param>
- <key>seed</key>
- <value>0</value>
- </param>
- <param>
- <key>puncpat</key>
- <value>'11'</value>
- </param>
- <param>
- <key>samp_rate</key>
- <value>3200000</value>
- </param>
- <param>
- <key>threadtype</key>
- <value>"capillary"</value>
- </param>
- <bus_source>1</bus_source>
- </block>
- <block>
- <key>qtgui_bercurve_sink</key>
- <param>
- <key>berlimit</key>
- <value>-7.0</value>
- </param>
- <param>
- <key>alias</key>
- <value></value>
- </param>
- <param>
- <key>comment</key>
- <value></value>
- </param>
- <param>
- <key>affinity</key>
- <value></value>
- </param>
- <param>
- <key>curvenames</key>
- <value>['POLAR decoder', 'POLAR decoder list', 'CC']</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(1176, 146)</value>
- </param>
- <param>
- <key>gui_hint</key>
- <value></value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- <param>
- <key>id</key>
- <value>qtgui_bercurve_sink_0</value>
- </param>
- <param>
- <key>alpha1</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color1</key>
- <value>"blue"</value>
- </param>
- <param>
- <key>label1</key>
- <value>POLAR decoder</value>
- </param>
- <param>
- <key>marker1</key>
- <value>0</value>
- </param>
- <param>
- <key>style1</key>
- <value>1</value>
- </param>
- <param>
- <key>width1</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha10</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color10</key>
- <value>"blue"</value>
- </param>
- <param>
- <key>label10</key>
- <value></value>
- </param>
- <param>
- <key>marker10</key>
- <value>0</value>
- </param>
- <param>
- <key>style10</key>
- <value>1</value>
- </param>
- <param>
- <key>width10</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha2</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color2</key>
- <value>"red"</value>
- </param>
- <param>
- <key>label2</key>
- <value>POLAR list decoder</value>
- </param>
- <param>
- <key>marker2</key>
- <value>0</value>
- </param>
- <param>
- <key>style2</key>
- <value>1</value>
- </param>
- <param>
- <key>width2</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha3</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color3</key>
- <value>"green"</value>
- </param>
- <param>
- <key>label3</key>
- <value>CC convolutional</value>
- </param>
- <param>
- <key>marker3</key>
- <value>0</value>
- </param>
- <param>
- <key>style3</key>
- <value>1</value>
- </param>
- <param>
- <key>width3</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha4</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color4</key>
- <value>"black"</value>
- </param>
- <param>
- <key>label4</key>
- <value></value>
- </param>
- <param>
- <key>marker4</key>
- <value>0</value>
- </param>
- <param>
- <key>style4</key>
- <value>1</value>
- </param>
- <param>
- <key>width4</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha5</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color5</key>
- <value>"cyan"</value>
- </param>
- <param>
- <key>label5</key>
- <value></value>
- </param>
- <param>
- <key>marker5</key>
- <value>0</value>
- </param>
- <param>
- <key>style5</key>
- <value>1</value>
- </param>
- <param>
- <key>width5</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha6</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color6</key>
- <value>"magenta"</value>
- </param>
- <param>
- <key>label6</key>
- <value></value>
- </param>
- <param>
- <key>marker6</key>
- <value>0</value>
- </param>
- <param>
- <key>style6</key>
- <value>1</value>
- </param>
- <param>
- <key>width6</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha7</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color7</key>
- <value>"yellow"</value>
- </param>
- <param>
- <key>label7</key>
- <value></value>
- </param>
- <param>
- <key>marker7</key>
- <value>0</value>
- </param>
- <param>
- <key>style7</key>
- <value>1</value>
- </param>
- <param>
- <key>width7</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha8</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color8</key>
- <value>"dark red"</value>
- </param>
- <param>
- <key>label8</key>
- <value></value>
- </param>
- <param>
- <key>marker8</key>
- <value>0</value>
- </param>
- <param>
- <key>style8</key>
- <value>1</value>
- </param>
- <param>
- <key>width8</key>
- <value>1</value>
- </param>
- <param>
- <key>alpha9</key>
- <value>1.0</value>
- </param>
- <param>
- <key>color9</key>
- <value>"dark green"</value>
- </param>
- <param>
- <key>label9</key>
- <value></value>
- </param>
- <param>
- <key>marker9</key>
- <value>0</value>
- </param>
- <param>
- <key>style9</key>
- <value>1</value>
- </param>
- <param>
- <key>width9</key>
- <value>1</value>
- </param>
- <param>
- <key>berminerrors</key>
- <value>100</value>
- </param>
- <param>
- <key>num_curves</key>
- <value>3</value>
- </param>
- <param>
- <key>update_time</key>
- <value>0.10</value>
- </param>
- <param>
- <key>ymax</key>
- <value>0</value>
- </param>
- <param>
- <key>ymin</key>
- <value>-10</value>
- </param>
- <param>
- <key>esno</key>
- <value>esno</value>
- </param>
- <bus_sink>1</bus_sink>
- </block>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>20</source_key>
- <sink_key>60</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>0</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>1</source_key>
- <sink_key>1</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>10</source_key>
- <sink_key>10</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>11</source_key>
- <sink_key>11</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>12</source_key>
- <sink_key>12</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>13</source_key>
- <sink_key>13</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>14</source_key>
- <sink_key>14</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>15</source_key>
- <sink_key>15</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>16</source_key>
- <sink_key>16</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>17</source_key>
- <sink_key>17</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>18</source_key>
- <sink_key>18</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>19</source_key>
- <sink_key>19</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>2</source_key>
- <sink_key>2</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>3</source_key>
- <sink_key>3</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>4</source_key>
- <sink_key>4</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>5</source_key>
- <sink_key>5</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>6</source_key>
- <sink_key>6</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>7</source_key>
- <sink_key>7</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>8</source_key>
- <sink_key>8</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_sc</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>9</source_key>
- <sink_key>9</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>20</source_key>
- <sink_key>61</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>20</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>1</source_key>
- <sink_key>21</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>10</source_key>
- <sink_key>30</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>11</source_key>
- <sink_key>31</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>12</source_key>
- <sink_key>32</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>13</source_key>
- <sink_key>33</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>14</source_key>
- <sink_key>34</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>15</source_key>
- <sink_key>35</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>16</source_key>
- <sink_key>36</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>17</source_key>
- <sink_key>37</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>18</source_key>
- <sink_key>38</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>19</source_key>
- <sink_key>39</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>2</source_key>
- <sink_key>22</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>3</source_key>
- <sink_key>23</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>4</source_key>
- <sink_key>24</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>5</source_key>
- <sink_key>25</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>6</source_key>
- <sink_key>26</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>7</source_key>
- <sink_key>27</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>8</source_key>
- <sink_key>28</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>9</source_key>
- <sink_key>29</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>20</source_key>
- <sink_key>62</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>0</source_key>
- <sink_key>40</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>1</source_key>
- <sink_key>41</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>10</source_key>
- <sink_key>50</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>11</source_key>
- <sink_key>51</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>12</source_key>
- <sink_key>52</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>13</source_key>
- <sink_key>53</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>14</source_key>
- <sink_key>54</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>15</source_key>
- <sink_key>55</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>16</source_key>
- <sink_key>56</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>17</source_key>
- <sink_key>57</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>18</source_key>
- <sink_key>58</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>19</source_key>
- <sink_key>59</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>2</source_key>
- <sink_key>42</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>3</source_key>
- <sink_key>43</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>4</source_key>
- <sink_key>44</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>5</source_key>
- <sink_key>45</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>6</source_key>
- <sink_key>46</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>7</source_key>
- <sink_key>47</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>8</source_key>
- <sink_key>48</sink_key>
- </connection>
- <connection>
- <source_block_id>polar_curve_gen_scld_0</source_block_id>
- <sink_block_id>qtgui_bercurve_sink_0</sink_block_id>
- <source_key>9</source_key>
- <sink_key>49</sink_key>
- </connection>
-</flow_graph>
+options:
+ parameters:
+ author: Johannes Demel
+ category: Custom
+ gen_cmake: 'On'
+ gen_linking: dynamic
+ generate_options: qt_gui
+ hier_block_src_path: '.:'
+ id: polar_ber_curve_gen
+ max_nouts: '0'
+ output_language: python
+ placement: (0,0)
+ run: 'True'
+ run_command: '{python} -u {filename}'
+ run_options: prompt
+ sizing_mode: fixed
+ title: polar code BER curve generator
+ window_size: 1920,1080
+ states:
+ coordinate: [10, 10]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: block_size
+ id: variable
+ parameters:
+ value: '1024'
+ states:
+ coordinate: [304, 35]
+ rotation: 0
+ state: enabled
+- name: dec_cc
+ id: variable_cc_decoder_def
+ parameters:
+ dim1: len(esno)
+ dim2: '1'
+ framebits: frame_size
+ k: k
+ mode: fec.CC_STREAMING
+ ndim: '2'
+ padding: 'False'
+ polys: polys
+ rate: rate
+ state_end: '-1'
+ state_start: '0'
+ value: '"ok"'
+ states:
+ coordinate: [1368, 395]
+ rotation: 0
+ state: enabled
+- name: enc_cc
+ id: variable_cc_encoder_def
+ parameters:
+ dim1: len(esno)
+ dim2: '1'
+ framebits: frame_size
+ k: k
+ mode: fec.CC_STREAMING
+ ndim: '2'
+ padding: 'False'
+ polys: polys
+ rate: rate
+ state_start: '0'
+ states:
+ coordinate: [1368, 187]
+ rotation: 0
+ state: enabled
+- name: esno
+ id: variable
+ parameters:
+ value: numpy.arange(-1, 4, 0.5)
+ states:
+ coordinate: [704, 19]
+ rotation: 0
+ state: enabled
+- name: frame_size
+ id: variable
+ parameters:
+ value: block_size // 2
+ states:
+ coordinate: [1440, 51]
+ rotation: 0
+ state: enabled
+- name: k
+ id: variable
+ parameters:
+ value: '7'
+ states:
+ coordinate: [1368, 115]
+ rotation: 0
+ state: enabled
+- name: list_size
+ id: variable
+ parameters:
+ value: '8'
+ states:
+ coordinate: [536, 171]
+ rotation: 0
+ state: enabled
+- name: n_info_bits
+ id: variable
+ parameters:
+ value: block_size // 2
+ states:
+ coordinate: [424, 35]
+ rotation: 0
+ state: enabled
+- name: polar_config
+ id: variable_polar_code_configurator
+ parameters:
+ block_size: block_size
+ channel: polar.CHANNEL_TYPE_BEC
+ design_snr: '0.0'
+ mu: '32'
+ num_info_bits: n_info_bits
+ states:
+ coordinate: [328, 107]
+ rotation: 0
+ state: enabled
+- name: polar_decoder
+ id: variable_polar_decoder_sc_def
+ parameters:
+ block_size: block_size
+ dim1: len(esno)
+ dim2: '1'
+ frozen_bit_positions: polar_config['positions']
+ frozen_bit_values: polar_config['values']
+ ndim: '2'
+ num_info_bits: n_info_bits
+ states:
+ coordinate: [192, 419]
+ rotation: 0
+ state: enabled
+- name: polar_encoder
+ id: variable_polar_encoder_def
+ parameters:
+ block_size: block_size
+ dim1: len(esno)
+ dim2: '1'
+ frozen_bit_positions: polar_config['positions']
+ frozen_bit_values: polar_config['values']
+ is_packed: 'False'
+ ndim: '2'
+ num_info_bits: n_info_bits
+ states:
+ coordinate: [192, 251]
+ rotation: 0
+ state: enabled
+- name: polar_encoder_scld
+ id: variable_polar_encoder_def
+ parameters:
+ block_size: block_size
+ dim1: len(esno)
+ dim2: '1'
+ frozen_bit_positions: polar_config['positions']
+ frozen_bit_values: polar_config['values']
+ is_packed: 'False'
+ ndim: '2'
+ num_info_bits: n_info_bits
+ states:
+ coordinate: [456, 243]
+ rotation: 0
+ state: enabled
+- name: polar_scld
+ id: variable_polar_decoder_sc_list_def
+ parameters:
+ block_size: block_size
+ dim1: len(esno)
+ dim2: '1'
+ frozen_bit_positions: polar_config['positions']
+ frozen_bit_values: polar_config['values']
+ max_list_size: list_size
+ ndim: '2'
+ num_info_bits: n_info_bits
+ states:
+ coordinate: [456, 411]
+ rotation: 0
+ state: enabled
+- name: polys
+ id: variable
+ parameters:
+ value: '[79, 109]'
+ states:
+ coordinate: [1440, 115]
+ rotation: 0
+ state: enabled
+- name: rate
+ id: variable
+ parameters:
+ value: '2'
+ states:
+ coordinate: [1368, 51]
+ rotation: 0
+ state: enabled
+- name: samp_rate
+ id: variable
+ parameters:
+ value: 350e3
+ states:
+ coordinate: [16, 107]
+ rotation: 0
+ state: enabled
+- name: polar_curve_gen_sc
+ id: fec_bercurve_generator
+ parameters:
+ decoder_list: polar_decoder
+ encoder_list: polar_encoder
+ esno: esno
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ puncpat: '''11'''
+ samp_rate: '3200000'
+ seed: '0'
+ threadtype: '"none"'
+ states:
+ coordinate: [808, 123]
+ rotation: 0
+ state: enabled
+- name: polar_curve_gen_scld
+ id: fec_bercurve_generator
+ parameters:
+ decoder_list: polar_scld
+ encoder_list: polar_encoder_scld
+ esno: esno
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ puncpat: '''11'''
+ samp_rate: '3200000'
+ seed: '0'
+ threadtype: '"none"'
+ states:
+ coordinate: [808, 227]
+ rotation: 0
+ state: enabled
+- name: polar_curve_gen_scld_0
+ id: fec_bercurve_generator
+ parameters:
+ decoder_list: dec_cc
+ encoder_list: enc_cc
+ esno: esno
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ puncpat: '''11'''
+ samp_rate: '3200000'
+ seed: '0'
+ threadtype: '"capillary"'
+ states:
+ coordinate: [808, 331]
+ rotation: 0
+ state: enabled
+- name: qtgui_bercurve_sink_0
+ id: qtgui_bercurve_sink
+ parameters:
+ alpha1: '1.0'
+ alpha10: '1.0'
+ alpha2: '1.0'
+ alpha3: '1.0'
+ alpha4: '1.0'
+ alpha5: '1.0'
+ alpha6: '1.0'
+ alpha7: '1.0'
+ alpha8: '1.0'
+ alpha9: '1.0'
+ berlimit: '-7.0'
+ berminerrors: '100'
+ color1: '"blue"'
+ color10: '"blue"'
+ color2: '"red"'
+ color3: '"green"'
+ color4: '"black"'
+ color5: '"cyan"'
+ color6: '"magenta"'
+ color7: '"yellow"'
+ color8: '"dark red"'
+ color9: '"dark green"'
+ curvenames: '[''POLAR decoder'', ''POLAR decoder list'', ''CC'']'
+ esno: esno
+ label1: POLAR decoder
+ label2: POLAR list decoder
+ label3: CC convolutional
+ marker1: '0'
+ marker10: '0'
+ marker2: '0'
+ marker3: '0'
+ marker4: '0'
+ marker5: '0'
+ marker6: '0'
+ marker7: '0'
+ marker8: '0'
+ marker9: '0'
+ num_curves: '3'
+ style1: '1'
+ style10: '1'
+ style2: '1'
+ style3: '1'
+ style4: '1'
+ style5: '1'
+ style6: '1'
+ style7: '1'
+ style8: '1'
+ style9: '1'
+ update_time: '0.10'
+ width1: '1'
+ width10: '1'
+ width2: '1'
+ width3: '1'
+ width4: '1'
+ width5: '1'
+ width6: '1'
+ width7: '1'
+ width8: '1'
+ width9: '1'
+ ymax: '0'
+ ymin: '-10'
+ states:
+ coordinate: [1176, 146]
+ rotation: 0
+ state: enabled
+connections: []
+
+metadata:
+ file_format: 1