Skip to content

Commit

Permalink
Remove scan plot data decimation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Jessop authored and Mark Jessop committed Nov 15, 2024
1 parent 994f219 commit 30ccfe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion auto_rx/autorx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 2 additions & 3 deletions auto_rx/autorx/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = []
Expand Down

0 comments on commit 30ccfe1

Please sign in to comment.