summaryrefslogtreecommitdiff
path: root/gr-fec/python
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2015-09-23 09:59:38 -0400
committerTom Rondeau <tom@trondeau.com>2015-09-23 09:59:38 -0400
commitad3a02f6c829e9b3ba9ebaef437e1a6087978855 (patch)
tree00a264d6354b1f78db1bd7f75c919d905cb7e996 /gr-fec/python
parentf28eef2874ede4de9d62d22488e52df29b53ec04 (diff)
fec: polar: Installing more FEC examples.
Also some minor formatting.
Diffstat (limited to 'gr-fec/python')
-rw-r--r--gr-fec/python/fec/polar/polar_channel_construction14
1 files changed, 9 insertions, 5 deletions
diff --git a/gr-fec/python/fec/polar/polar_channel_construction b/gr-fec/python/fec/polar/polar_channel_construction
index b69ad3bbfb..0aca9c7ddc 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