diff options
-rw-r--r-- | gr-fec/examples/CMakeLists.txt | 6 | ||||
-rw-r--r-- | 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 88d6d5c069..b396ba625b 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 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 |