commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 20/25: fec: polar: Installing more FEC exam


From: git
Subject: [Commit-gnuradio] [gnuradio] 20/25: fec: polar: Installing more FEC examples.
Date: Wed, 23 Sep 2015 14:51:39 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit ad3a02f6c829e9b3ba9ebaef437e1a6087978855
Author: Tom Rondeau <address@hidden>
Date:   Wed Sep 23 09:59:38 2015 -0400

    fec: polar: Installing more FEC examples.
    
    Also some minor formatting.
---
 gr-fec/examples/CMakeLists.txt                     |  6 ++++++
 gr-fec/python/fec/polar/polar_channel_construction | 14 +++++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/gr-fec/examples/CMakeLists.txt b/gr-fec/examples/CMakeLists.txt
index 88d6d5c..b396ba6 100644
--- a/gr-fec/examples/CMakeLists.txt
+++ b/gr-fec/examples/CMakeLists.txt
@@ -32,6 +32,12 @@ install(
     fecapi_async_packed_decoders.grc
     fecapi_tagged_decoders.grc
     fecapi_tagged_encoders.grc
+    fecapi_cc_decoders.grc
+    fecapi_polar_async_packed_decoders.grc
+    fecapi_polar_decoders.grc
+    fecapi_polar_encoders.grc
+    polar_ber_curve_gen.grc
+    polar_code_example.grc
     tpc_ber_curve_gen.grc
     DESTINATION ${GR_PKG_FEC_EXAMPLES_DIR}
     COMPONENT "fec_python"
diff --git a/gr-fec/python/fec/polar/polar_channel_construction 
b/gr-fec/python/fec/polar/polar_channel_construction
index b69ad3b..0aca9c7 100644
--- a/gr-fec/python/fec/polar/polar_channel_construction
+++ b/gr-fec/python/fec/polar/polar_channel_construction
@@ -33,10 +33,14 @@ def setup_parser():
 
     parser.add_option("-h", "--help", action="help", help="Displays this help 
message.")
 
-    parser.add_option("-c", "--channel", action="store", type="string", 
dest="channel", help="specify channel, currently BEC or BSC (default='BEC')", 
default='BEC')
-    parser.add_option("-b", "--blocksize", action="store", type="int", 
dest="block_size", help="specify block size of polar code (default=16)", 
default=16)
-    parser.add_option("-s", "--desgin-snr", action="store", type="float", 
dest="design_snr", help="specify design SNR of polar code (default=0.0)", 
default=0.0)
-    parser.add_option("-k", "--mu", action="store", type="int", dest="mu", 
help="specify block size of polar code (default=2)", default=2)
+    parser.add_option("-c", "--channel", action="store", type="string", 
dest="channel",
+                      help="specify channel, currently BEC or BSC 
(default='BEC')", default='BEC')
+    parser.add_option("-b", "--blocksize", action="store", type="int", 
dest="block_size",
+                      help="specify block size of polar code (default=16)", 
default=16)
+    parser.add_option("-s", "--desgin-snr", action="store", type="float", 
dest="design_snr",
+                      help="specify design SNR of polar code (default=0.0)", 
default=0.0)
+    parser.add_option("-k", "--mu", action="store", type="int", dest="mu",
+                      help="specify block size of polar code (default=2)", 
default=2)
 
     return parser
 
@@ -69,4 +73,4 @@ if __name__ == '__main__':
     try:
         main()
     except KeyboardInterrupt:
-        pass
\ No newline at end of file
+        pass



reply via email to

[Prev in Thread] Current Thread [Next in Thread]