You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cdef int pwr_1_stop =1+ (fft_size *5) //8+ fft_size //4
@@ -229,7 +230,7 @@ def pyhackrf_sweep(frequencies: list = None, sample_rate: int = 20_000_000, base
229
230
sample_rate =int(sample_rate) ifint(sample_rate) in AVAILABLE_SAMPLING_RATES else20_000_000
230
231
baseband_filter_bandwidth =int(baseband_filter_bandwidth) if baseband_filter_bandwidth in AVAILABLE_BASEBAND_FILTER_BANDWIDTHS else pyhackrf.pyhackrf_compute_baseband_filter_bw(int(sample_rate *.75))
231
232
232
-
current_device_data = {
233
+
cdef dictcurrent_device_data = {
233
234
'sweep_style': sweep_style if sweep_style in pyhackrf.py_sweep_style else pyhackrf.py_sweep_style.INTERLEAVED,
234
235
'sample_rate': sample_rate,
235
236
@@ -325,8 +326,10 @@ def pyhackrf_sweep(frequencies: list = None, sample_rate: int = 20_000_000, base
0 commit comments