mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-01-10 02:30:58 +01:00
Add higher uWave bands
Signed-off-by: Dawid SQ6EMM <sq6emm@hamradio.pl>
This commit is contained in:
parent
4bdaf8d335
commit
f6fad0f8cd
|
|
@ -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}
|
||||
return {"band": band, "mode": mode}
|
||||
|
|
|
|||
Loading…
Reference in a new issue