kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
commit
1b8ccc112b
|
@ -345,7 +345,7 @@ def detect_sonde(
|
|||
# )
|
||||
# Saving of Debug audio, if enabled,
|
||||
if save_detection_audio:
|
||||
rx_test_command += "tee detect_%s.raw | " % str(device_idx)
|
||||
rx_test_command += "tee detect_%s.raw | " % str(rtl_device_idx)
|
||||
|
||||
rx_test_command += os.path.join(
|
||||
rs_path, "dft_detect"
|
||||
|
@ -399,7 +399,7 @@ def detect_sonde(
|
|||
|
||||
# Saving of Debug audio, if enabled,
|
||||
if save_detection_audio:
|
||||
rx_test_command += "tee detect_%s.wav | " % str(device_idx)
|
||||
rx_test_command += "tee detect_%s.wav | " % str(rtl_device_idx)
|
||||
|
||||
# Sample decoding / detection
|
||||
# Note that we detect for dwell_time seconds, and timeout after dwell_time*2, to catch if no samples are being passed through.
|
||||
|
|
|
@ -478,7 +478,7 @@ def get_power_spectrum(
|
|||
f"{_timeout_cmd} {rtl_power_path} "
|
||||
f"{'-T ' if bias else ''}"
|
||||
f"-p {int(ppm)} "
|
||||
#f"-d {str(rtl_device_idx)} "
|
||||
f"-d {str(rtl_device_idx)} "
|
||||
f"{_gain}"
|
||||
f"-f {frequency_start}:{frequency_stop}:{step} "
|
||||
f"-i {integration_time} -1 -c 25% "
|
||||
|
|
Ładowanie…
Reference in New Issue