diff --git a/scriptsapi/qo100_datv.py b/scriptsapi/qo100_datv.py index 92a402334..673d131ce 100755 --- a/scriptsapi/qo100_datv.py +++ b/scriptsapi/qo100_datv.py @@ -20,6 +20,7 @@ def getInputOptions(): parser.add_option("-c", "--channel", dest="channel_index", help="Index of DATV demod channel. Default 0", metavar="INT", type="int") parser.add_option("-f", "--frequency", dest="frequency", help="Device center frequency (kHz). Mandatory", metavar="INT", type="int") parser.add_option("-s", "--symbol-rate", dest="symbol_rate", help="Symbol rate (kS/s). Mandatory", metavar="INT", type="int") + parser.add_option("-n", "--no-decim", dest="no_decim", help="Do not change decimation", action="store_true") (options, args) = parser.parse_args() @@ -115,11 +116,12 @@ def set_device(options): device_sr, device_decim = get_device_sr_and_decim(hwtype, device_settings) new_decim = calc_decim(device_sr, options.symbol_rate) print(f"sr: {device_sr} S/s decim: {device_decim} new decim: {1<