aboutsummaryrefslogtreecommitdiffstats
path: root/apps/helpers/grgsm_channelize.py
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2016-04-24 15:23:15 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2016-04-24 15:23:15 +0200
commit13d9e7a3341f752b239ed1eec3c3aae85ad39afe (patch)
tree3e4c8e078331b6c6c8812a2ca66de3a6449fc236 /apps/helpers/grgsm_channelize.py
parentd5cdfe7951e3ea64215d5ee0f83107bb8647807a (diff)
Corrected the example in grgsm_channelize, changed default sample rates in applications.
Diffstat (limited to 'apps/helpers/grgsm_channelize.py')
-rwxr-xr-xapps/helpers/grgsm_channelize.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/helpers/grgsm_channelize.py b/apps/helpers/grgsm_channelize.py
index f7f0100..146bb8f 100755
--- a/apps/helpers/grgsm_channelize.py
+++ b/apps/helpers/grgsm_channelize.py
@@ -43,10 +43,10 @@ import os
EXTRA_HELP = """
Example usage:
-grgsm_channelize.py -f my_wideband_capture.cfile -c 925.2e6 990 991 992 993 994 995 1019 1020 1021 1022 1023
+grgsm_channelize.py -c my_wideband_capture.cfile -f 925.2e6 990 991 992 993 994 995 1019 1020 1021 1022 1023
The above example will channelize my_wideband_capture.cfile, in this case a cfile captured at
-925.2 MHz centered (ARFCN 975) and 20 Msps. As a result, 12 files will be generated for
+925.2 MHz centered (ARFCN 975) and 2 Msps. As a result, 12 files will be generated for
ARFCNs 975 - 1023 at 1 Msps each.
"""
@@ -117,7 +117,7 @@ if __name__ == '__main__':
parser = ArgumentParser(formatter_class=RawDescriptionHelpFormatter, description='Split wideband a GSM capture into seperate files per ARFCN.', add_help=True, epilog=EXTRA_HELP)
parser.add_argument(dest="channel", type=int, nargs='+',
help="List of ARFCNs")
- parser.add_argument("-s", "--samp-rate", dest="samp_rate", type=eng_float, default=eng_notation.num_to_str(2e7),
+ parser.add_argument("-s", "--samp-rate", dest="samp_rate", type=eng_float, default=eng_notation.num_to_str(2e6),
help="Sample rate of the wideband capture file [default=%(default)s]")
parser.add_argument("-f", "--fc", dest="fc", type=eng_float, default=eng_notation.num_to_str(935e6), required=True,
help="Carrier frequency in Hz [default=%(default)s]")