kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
test_sdr checks a center frequency between min_freq and max_freq
rodzic
c9dbb0cdc8
commit
5972db70df
|
|
@ -799,7 +799,7 @@ def read_auto_rx_config(filename, no_sdr_test=False):
|
|||
sdr_port=auto_rx_config["sdr_port"],
|
||||
ss_iq_path=auto_rx_config["ss_iq_path"],
|
||||
ss_power_path=auto_rx_config["ss_power_path"],
|
||||
check_freq=auto_rx_config["min_freq"] * 1e6,
|
||||
check_freq=(auto_rx_config["min_freq"]+(auto_rx_config["max_freq"]-auto_rx_config["min_freq"])/2.0) * 1e6,
|
||||
)
|
||||
|
||||
if not _sdr_ok:
|
||||
|
|
|
|||
|
|
@ -767,7 +767,7 @@ class SondeScanner(object):
|
|||
sdr_hostname = self.sdr_hostname,
|
||||
sdr_port = self.sdr_port,
|
||||
ss_iq_path = self.ss_iq_path,
|
||||
check_freq = self.min_freq * 1e6
|
||||
check_freq = (self.min_freq + (self.max_freq-self.min_freq)/2.0) * 1e6
|
||||
)
|
||||
|
||||
if not _sdr_ok:
|
||||
|
|
@ -830,7 +830,7 @@ class SondeScanner(object):
|
|||
sdr_hostname = self.sdr_hostname,
|
||||
sdr_port = self.sdr_port,
|
||||
ss_iq_path = self.ss_iq_path,
|
||||
check_freq = self.min_freq * 1e6
|
||||
check_freq = (self.min_freq + (self.max_freq-self.min_freq)/2.0) * 1e6
|
||||
)
|
||||
|
||||
if not _sdr_ok:
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue