diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-11-28 15:04:41 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-11-28 15:04:41 +0100 |
commit | 8b42d3115db2ecec9031c5d1421463b0191e055c (patch) | |
tree | 66c1a9d5864c478ca5026a681963e81db6142e0f /gui/dpd/Capture.py | |
parent | cfa9461f269e616d6d54658d583b37d215f35a7b (diff) | |
download | dabmod-8b42d3115db2ecec9031c5d1421463b0191e055c.tar.gz dabmod-8b42d3115db2ecec9031c5d1421463b0191e055c.tar.bz2 dabmod-8b42d3115db2ecec9031c5d1421463b0191e055c.zip |
Use multiprocessing for DPD functionality
Diffstat (limited to 'gui/dpd/Capture.py')
-rw-r--r-- | gui/dpd/Capture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dpd/Capture.py b/gui/dpd/Capture.py index 4c0e99c..3b2988b 100644 --- a/gui/dpd/Capture.py +++ b/gui/dpd/Capture.py @@ -172,7 +172,7 @@ class Capture: rxframe = rxframe * self.rx_normalisation txframe_aligned, rxframe_aligned, coarse_offset = align_samples(txframe, rxframe) - return tx_ts, tx_median, rx_ts, rx_median, coarse_offset, correlation_coefficient(txframe_aligned, rxframe_aligned) + return tx_ts, tx_median, rx_ts, rx_median, np.abs(coarse_offset), correlation_coefficient(txframe_aligned, rxframe_aligned) def get_samples(self): """Connect to ODR-DabMod, retrieve TX and RX samples, load |