Dynamic tx power feature (#724)
[ExpressLRS.git] / src / python / linspace_hopfreqs_gen_2400M.py
blob456071d7c7e6846e45b89e5a9f3df0832320af29
1 import numpy as np
3 start = 2400000000
4 stop = 2483000000
5 bandwidth = 800000
6 numfreqs = 80
7 stopband = bandwidth*0.25
9 output = np.linspace(start, stop, numfreqs)
12 prev = start + bandwidth/2 +0
13 startf = prev
15 for x in range(0,numfreqs):
16 print(prev)
17 prev = prev + bandwidth + stopband
20 print(startf-(start+bandwidth/2))
21 print(stop-(prev+bandwidth/2))