diff --git a/auto_rx/autorx/__init__.py b/auto_rx/autorx/__init__.py index 27ff82bd..7e271ef1 100644 --- a/auto_rx/autorx/__init__.py +++ b/auto_rx/autorx/__init__.py @@ -12,7 +12,7 @@ # MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus. # PATCH - Small changes, or minor feature additions. -__version__ = "1.8.0-beta2" +__version__ = "1.8.0-beta3" # Global Variables diff --git a/auto_rx/autorx/scan.py b/auto_rx/autorx/scan.py index 9add39e6..4ac76d9c 100644 --- a/auto_rx/autorx/scan.py +++ b/auto_rx/autorx/scan.py @@ -974,9 +974,8 @@ def sonde_search(self, first_only=False): raise ValueError("Error getting PSD") # Update the global scan result - (_freq_decimate, _power_decimate) = peak_decimation(freq / 1e6, power, 10) - scan_result["freq"] = list(_freq_decimate) - scan_result["power"] = list(_power_decimate) + scan_result["freq"] = [round(x,6) for x in list(freq/1e6)] + scan_result["power"] = [round(x,2) for x in list(power)] scan_result["timestamp"] = datetime.datetime.now(datetime.timezone.utc).isoformat() scan_result["peak_freq"] = [] scan_result["peak_lvl"] = []