diff options
author | Carl Laufer <Kraken.rf.inc@gmail.com> | 2022-04-10 08:28:07 +0200 |
---|---|---|
committer | Carl Laufer <Kraken.rf.inc@gmail.com> | 2022-04-10 08:28:07 +0200 |
commit | 42a76962d0bbdbf8f1589fd71593cb2c1e05a841 (patch) | |
tree | 4c0546b3e49b433884422fc670901f7a322cebb4 /_signal_processing | |
parent | ui tidy (diff) | |
download | krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.tar krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.tar.gz krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.tar.bz2 krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.tar.lz krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.tar.xz krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.tar.zst krakensdr_pr-42a76962d0bbdbf8f1589fd71593cb2c1e05a841.zip |
Diffstat (limited to '')
-rwxr-xr-x | _signal_processing/krakenSDR_signal_processor.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/_signal_processing/krakenSDR_signal_processor.py b/_signal_processing/krakenSDR_signal_processor.py index b0f87e2..d60ad66 100755 --- a/_signal_processing/krakenSDR_signal_processor.py +++ b/_signal_processing/krakenSDR_signal_processor.py @@ -228,7 +228,6 @@ class SignalProcessor(threading.Thread): spectrum_samples = self.module_receiver.iq_samples #spectrum_signal #self.processed_signal #self.module_receiver.iq_samples #self.processed_signal - N = self.spectrum_window_size N_perseg = 0 @@ -287,7 +286,7 @@ class SignalProcessor(threading.Thread): RD_matrix = cc_detector_ons(ref_ch, surv_ch, self.module_receiver.iq_header.sampling_freq, max_Doppler, max_range) end = time.time() - print("Time: " + str((end-start) * 1000)) + #print("Time: " + str((end-start) * 1000)) que_data_packet.append(['RD_matrix', RD_matrix]) @@ -421,8 +420,8 @@ def pruned_correlation(ref_ch, surv_ch, clen, N): ypp = np.vstack([xp[1:, :], np.zeros(cols, dtype=c_dtype)]) #vstack appears to be faster than pad yp = np.concatenate([xp, ypp], axis=1) - print("pruned corr xp shape: " + str(xp.shape)) - print("pruned corr yp shape: " + str(yp.shape)) + #print("pruned corr xp shape: " + str(xp.shape)) + #print("pruned corr yp shape: " + str(yp.shape)) # execute FFT on the matrices xpw = fft.fft(xp, n = 2*cols, axis=1, workers=4, overwrite_x=True) @@ -526,8 +525,8 @@ def cc_detector_ons(ref_ch, surv_ch, fs, fD_max, r_max): ref_ch_align, surv_ch_align = resize_and_align(no_sub_tasks, ref_ch, surv_ch, fs, fD_max, r_max) - print("ref_ch_align shape: " + str(ref_ch_align.shape)) - print("surv_ch_align shape: " + str(surv_ch_align.shape)) + #print("ref_ch_align shape: " + str(ref_ch_align.shape)) + #print("surv_ch_align shape: " + str(surv_ch_align.shape)) # row wise fft on both channels |