From f6fad0f8cd69aa2522af64e6594079102bf7884f Mon Sep 17 00:00:00 2001 From: Dawid SQ6EMM Date: Wed, 30 Apr 2025 14:05:00 +0200 Subject: [PATCH] Add higher uWave bands Signed-off-by: Dawid SQ6EMM --- pyhamtools/frequency.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pyhamtools/frequency.py b/pyhamtools/frequency.py index 51ad88b..d5375e2 100644 --- a/pyhamtools/frequency.py +++ b/pyhamtools/frequency.py @@ -200,7 +200,19 @@ def freq_to_band(freq): elif ((freq >= 47000000) and (freq <= 47200000)): band = 0.0063 #6,3mm mode = None + elif ((freq >= 75500000) and (freq <= 81500000)): + band = 0.004 #4mm + mode = None + elif ((freq >= 122250000) and (freq <= 123000000)): + band = 0.0025 #2.5mm + mode = None + elif ((freq >= 134000000) and (freq <= 141000000)): + band = 0.002 #2mm + mode = None + elif ((freq >= 241000000) and (freq <= 250000000)): + band = 0.001 #1mm + mode = None else: raise KeyError - return {"band": band, "mode": mode} \ No newline at end of file + return {"band": band, "mode": mode}